Skip to content

Commit

Permalink
Upgrade github actions to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Sep 29, 2023
1 parent 4d164f2 commit 8131acd
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 69 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/camel-master-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: |
df -h /
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -51,7 +51,7 @@ jobs:
[ ! -d ~/build-data ] && mkdir -p ~/build-data
echo "${{ github.run_id }}-${{ github.run_number }}-$(uuidgen)" > ~/build-data/build-id.txt
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: camel-main
fetch-depth: 0
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
ls -lh ${{ runner.temp }}/maven-repo.tgz
df -h /
- name: Persist Maven Repo
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: maven-repo
path: ${{ runner.temp }}/maven-repo.tgz
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
rm -rf /usr/share/swift
df -h /
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand All @@ -139,7 +139,7 @@ jobs:
tar -xzf ../maven-repo.tgz -C ~
df -h /
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: camel-main
fetch-depth: 0
Expand All @@ -150,7 +150,7 @@ jobs:
git fetch origin main
git rebase $(cat ~/build-data/main-sha.txt)
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
MAVEN_OPTS: -Xmx3000m
steps:
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand All @@ -217,7 +217,7 @@ jobs:
tar -xzf ../maven-repo.tgz -C ~
df -h /
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: camel-main
fetch-depth: 0
Expand All @@ -228,7 +228,7 @@ jobs:
git fetch origin main
git rebase $(cat ~/build-data/main-sha.txt)
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
MAVEN_OPTS: -Xmx3000m
steps:
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand All @@ -296,7 +296,7 @@ jobs:
echo "${HOSTS_LINE}" | sudo tee -a /etc/hosts
cat /etc/hosts
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: camel-main
fetch-depth: 0
Expand All @@ -307,7 +307,7 @@ jobs:
git fetch origin main
git rebase $(cat ~/build-data/main-sha.txt)
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand All @@ -334,7 +334,7 @@ jobs:
MAVEN_OPTS: -Xmx3000m
steps:
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand All @@ -343,7 +343,7 @@ jobs:
run: |
tar -xzf ../maven-repo.tgz -C ~
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: camel-main
fetch-depth: 0
Expand All @@ -354,7 +354,7 @@ jobs:
git fetch origin main
git rebase $(cat ~/build-data/main-sha.txt)
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -377,12 +377,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand All @@ -393,7 +393,7 @@ jobs:
tar -xzf ../maven-repo.tgz -C ~
df -h /
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: camel-main
fetch-depth: 0
Expand Down Expand Up @@ -428,12 +428,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand All @@ -444,7 +444,7 @@ jobs:
tar -xzf ../maven-repo.tgz -C ~
df -h /
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: camel-main
fetch-depth: 0
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ jobs:
echo "run-checks=false" >> $GITHUB_OUTPUT
fi
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
if: steps.init.outputs.run-checks == 'true'
with:
distribution: 'temurin'
java-version: '17'
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
if: steps.init.outputs.run-checks == 'true'
with:
ref: ${{ env.CHECKOUT_REF }}
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
echo "continue-build=true" >> $GITHUB_OUTPUT
fi
- name: Upload dependabot changeset
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: steps.pre-build-checks.outputs.continue-build == 'false'
with:
name: dependabot-pr-changeset
Expand All @@ -134,7 +134,7 @@ jobs:
run: |
echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" >> $GITHUB_ENV
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -154,7 +154,7 @@ jobs:
&& echo "Current Quarkus commit:" $(git rev-parse HEAD) \
&& ./mvnw ${CQ_MAVEN_ARGS} clean install -Dquickly
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ env.CHECKOUT_REF }}
fetch-depth: 0
Expand All @@ -175,7 +175,7 @@ jobs:
ls -lh ${{ runner.temp }}/maven-repo.tgz
df -h /
- name: Persist Maven Repo
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: maven-repo
path: ${{ runner.temp }}/maven-repo.tgz
Expand Down Expand Up @@ -213,17 +213,17 @@ jobs:
rm -rf /usr/share/swift
df -h /
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ env.CHECKOUT_REF }}
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand Down Expand Up @@ -286,17 +286,17 @@ jobs:
run: |
echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ env.CHECKOUT_REF }}
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand Down Expand Up @@ -352,17 +352,17 @@ jobs:
run: |
echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ env.CHECKOUT_REF }}
fetch-depth: 0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand Down Expand Up @@ -404,17 +404,17 @@ jobs:
run: |
echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: ${{ env.CHECKOUT_REF }}
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand All @@ -441,14 +441,14 @@ jobs:
run: |
echo "BRANCH_OPTIONS=-Poss-snapshots -Dquarkus.version=999-SNAPSHOT" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Download Maven Repo
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: maven-repo
path: ..
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-jvm-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-sbom-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
matrix:
java: [ '17' ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up JDK ${{ matrix.java }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
- name: Install js-yaml package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
echo "BRANCH_OPTIONS=-Poss-snapshots" >> $GITHUB_ENV
- uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
Expand Down
Loading

0 comments on commit 8131acd

Please sign in to comment.