Skip to content

Commit

Permalink
fix: actions for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Feb 28, 2023
1 parent 74874c3 commit 1dc6c7e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nightly-automatic-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ jobs:
- name: "Checkout code"
uses: actions/checkout@v2
with:
ref: release-1.10.x
ref: release-1.12.x
persist-credentials: false
submodules: recursive
- name: Automatic updates on release-1.10.x
uses: ./.github/actions/automatic-updates
with:
branch-ref: "release-1.10.x"
branch-ref: "release-1.12.x"
secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
goVersion: "1.17.x"
goVersion: "1.18.x"

v1_10_x:
if: github.repository == 'apache/camel-k'
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/nightly-native-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ on:
workflow_dispatch:

jobs:
strategy:
matrix:
ref-branch: [main, release-1.10.x, release-1.11.x]
native:
if: github.repository == 'apache/camel-k'
runs-on: macos-12

strategy:
fail-fast: false
matrix:
ref-branch: [main, release-1.10.x, release-1.12.x]

native:
if: github.repository == 'apache/camel-k'
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,31 +57,31 @@ jobs:
- name: "Checkout code"
uses: actions/checkout@v2
with:
ref: release-1.10.x
ref: release-1.12.x
persist-credentials: false
submodules: recursive
- name: release-1.10.x nightly
- name: release-1.12.x nightly
uses: ./.github/actions/release-nightly
with:
goVersion: "1.17.x"
goVersion: "1.18.x"
javaVersion: "11"
secretE2ECluster: ${{ secrets.E2E_CLUSTER_CONFIG }}
secretE2EKube: ${{ secrets.E2E_KUBE_CONFIG }}
secretDockerHubUser: ${{ secrets.TEST_DOCKER_HUB_USERNAME }}
secretDockerHubPassword: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
secretGithubToken: ${{ secrets.GITHUB_TOKEN }}

v1_12_x:
v1_10_x:
if: github.repository == 'apache/camel-k'
runs-on: ubuntu-20.04
steps:
- name: "Checkout code"
uses: actions/checkout@v2
with:
ref: release-1.11.x
ref: release-1.10.x
persist-credentials: false
submodules: recursive
- name: release-1.11.x nightly
- name: release-1.10.x nightly
uses: ./.github/actions/release-nightly
with:
goVersion: "1.17.x"
Expand All @@ -92,4 +92,3 @@ jobs:
secretDockerHubPassword: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
secretGithubToken: ${{ secrets.GITHUB_TOKEN }}


0 comments on commit 1dc6c7e

Please sign in to comment.