Skip to content

Commit

Permalink
chore(ci): release as an action
Browse files Browse the repository at this point in the history
Ref apache#3613

(cherry picked from commit apache/camel-k@c615eb066)
  • Loading branch information
squakez authored and github-actions[bot] committed Sep 14, 2022
1 parent 2e9c92c commit 67d3538
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
persist-credentials: false
submodules: recursive

# TODO: remove this workaround once 1.11 is released, see #3613
- if: ${{ github.ref == 'refs/heads/main' }} || ${{ github.ref == 'refs/heads/release-1.10.x' }}
# Reuse the testing flows used for PRs
name: Smoke tests
uses: ./.github/actions/e2e-common
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
jobs:
main:
if: github.repository == 'apache/camel-k'
uses: ./.github/workflows/release-workflow.yml
uses: ./.github/actions/release
with:
ref: "main"
goVersion: "1.17.x"
Expand All @@ -35,7 +35,7 @@ jobs:

v1_10_x:
if: github.repository == 'apache/camel-k'
uses: ./.github/workflows/release-workflow.yml
uses: ./.github/actions/release
with:
ref: "release-1.10.x"
goVersion: "1.17.x"
Expand All @@ -46,7 +46,7 @@ jobs:

v1_9_x:
if: github.repository == 'apache/camel-k'
uses: ./.github/workflows/release-workflow.yml
uses: ./.github/actions/release
with:
ref: "release-1.9.x"
goVersion: "1.17.x"
Expand Down

0 comments on commit 67d3538

Please sign in to comment.