Skip to content

Commit

Permalink
Merge pull request #19 from jerboaa/quarkus_gha_bumps
Browse files Browse the repository at this point in the history
Various GHA bumps to avoid Nodejs deprecation warnings
  • Loading branch information
zakkak authored Aug 27, 2024
2 parents 70dd320 + dced1b1 commit 625032b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,25 +119,25 @@ jobs:
MX_RUNS_STYLE: ${{ contains(matrix.env.GATE_TAGS, 'style') || matrix.env.GATE_TAGS == '' }}
steps:
- name: Checkout oracle/graal
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }} # Lock ref to current branch to avoid fetching others
fetch-depth: "${{ env.MX_RUNS_STYLE && '0' || '1' }}" # The style gate needs the full commit history for checking copyright years
- name: Determine mx version
run: echo "MX_VERSION=$(jq -r '.mx_version' common.json)" >> ${GITHUB_ENV}
- name: Checkout graalvm/mx
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: graalvm/mx.git
ref: ${{ env.MX_VERSION }}
fetch-depth: 1
path: ${{ env.MX_PATH }}
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Update mx cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.mx
key: ${{ runner.os }}-mx-${{ hashFiles('**/suite.py') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/quarkus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
shell: bash
run: tar -czvf graalvm.tgz -C $(dirname ${GRAALVM_HOME}) $(basename ${GRAALVM_HOME})
- name: Persist GraalVM build
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: graalvm
path: graalvm.tgz
Expand All @@ -102,7 +102,7 @@ jobs:
shell: bash
run: tar -czvf maven-repo.tgz -C ~ .m2/repository
- name: Persist Maven Repo
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: maven-repo
path: maven-repo.tgz
Expand All @@ -120,7 +120,7 @@ jobs:
steps:
- name: Download GraalVM build
if: startsWith(matrix.os-name, 'ubuntu')
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: graalvm
path: .
Expand All @@ -141,7 +141,7 @@ jobs:
run: ${QUARKUS_PATH}/.github/ci-prerequisites.sh
- name: Download Maven Repo
if: startsWith(matrix.os-name, 'ubuntu')
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3
with:
name: maven-repo
path: .
Expand All @@ -168,7 +168,7 @@ jobs:
shell: bash
run: find . -type d -name '*-reports' -o -wholename '*/build/reports/tests/functionalTest' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-reports-native-${{matrix.category}}
Expand Down

0 comments on commit 625032b

Please sign in to comment.