Skip to content

Commit

Permalink
Switch from @2 to @4 for key GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rsvoboda committed Sep 10, 2024
1 parent f5f23d0 commit 74e1070
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-pr-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
echo -n ${{ github.event.number }} > pull-request-number
- name: Upload pull request number
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: pull-request-number-${{ github.event.number }}
path: pull-request-number
Expand All @@ -37,15 +37,15 @@ jobs:
matrix:
java: [ 17 ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Date
id: get-date
run: |
echo "::set-output name=date::$(/bin/date -u "+%Y-%m")"
shell: bash
- name: Cache Maven Repository
id: cache-maven
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
# refresh cache every month to avoid unlimited growth
Expand All @@ -58,7 +58,7 @@ jobs:
exit 1
fi
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
Expand All @@ -74,7 +74,7 @@ jobs:
shell: bash
run: rm -rf ~/.m2/repository/org/acme
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Build - JDK ${{ matrix.java }}"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/native-build-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
shell: bash
- name: Cache Maven Repository
id: cache-maven
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
# refresh cache every month to avoid unlimited growth
key: q2maven-native-${{ steps.get-date.outputs.date }}

- name: Install JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
needs: [build-with-native]
if: "always() && github.repository == 'quarkusio/quarkus-quickstarts'"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'workflow_dispatch' && github.event.ref || 'development' }}
- name: Report
Expand Down

0 comments on commit 74e1070

Please sign in to comment.