From 88d59709441e24380f8463a1eee4942580ffcf55 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Mon, 15 Apr 2024 17:14:00 +0200 Subject: [PATCH] Upgrade artifact actions to latest version (#28483) Signed-off-by: Jon Koops --- .../actions/archive-surefire-reports/action.yml | 2 +- .github/actions/build-keycloak/action.yml | 4 ++-- .github/actions/integration-test-setup/action.yml | 2 +- .github/actions/upload-flaky-tests/action.yml | 2 +- .github/actions/upload-heapdumps/action.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/documentation.yml | 2 +- .github/workflows/js-ci.yml | 14 +++++++------- .github/workflows/operator-ci.yml | 6 +++--- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/actions/archive-surefire-reports/action.yml b/.github/actions/archive-surefire-reports/action.yml index 5862825479..99da5f7246 100644 --- a/.github/actions/archive-surefire-reports/action.yml +++ b/.github/actions/archive-surefire-reports/action.yml @@ -37,7 +37,7 @@ runs: - id: upload-surefire-linux name: Upload Surefire reports if: (!cancelled() && contains(fromJSON(inputs.release-branches), github.ref) && contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name)) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: surefire-${{ inputs.job-id }} path: | diff --git a/.github/actions/build-keycloak/action.yml b/.github/actions/build-keycloak/action.yml index 00758c3ba2..312ef809ee 100644 --- a/.github/actions/build-keycloak/action.yml +++ b/.github/actions/build-keycloak/action.yml @@ -51,7 +51,7 @@ runs: - id: upload-keycloak-maven-repository name: Upload Keycloak Maven artifacts if: inputs.upload-m2-repo == 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: m2-keycloak.tzts path: m2-keycloak.tzts @@ -60,7 +60,7 @@ runs: - id: upload-keycloak-dist name: Upload Keycloak dist if: inputs.upload-dist == 'true' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: keycloak-dist path: quarkus/dist/target/keycloak*.tar.gz diff --git a/.github/actions/integration-test-setup/action.yml b/.github/actions/integration-test-setup/action.yml index 3a50e4224f..70a8d3ec82 100644 --- a/.github/actions/integration-test-setup/action.yml +++ b/.github/actions/integration-test-setup/action.yml @@ -35,7 +35,7 @@ runs: - id: download-keycloak name: Download Keycloak Maven artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: m2-keycloak.tzts diff --git a/.github/actions/upload-flaky-tests/action.yml b/.github/actions/upload-flaky-tests/action.yml index f0d94451fd..d76580b8e7 100644 --- a/.github/actions/upload-flaky-tests/action.yml +++ b/.github/actions/upload-flaky-tests/action.yml @@ -47,7 +47,7 @@ runs: echo "EOF" >> $GITHUB_OUTPUT fi - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ steps.flaky-tests.outputs.flakes }} with: name: flaky-tests-${{ github.job }}-${{ join(matrix.*, '-') }} diff --git a/.github/actions/upload-heapdumps/action.yml b/.github/actions/upload-heapdumps/action.yml index f83228ad9e..65c2dc54c6 100644 --- a/.github/actions/upload-heapdumps/action.yml +++ b/.github/actions/upload-heapdumps/action.yml @@ -8,7 +8,7 @@ runs: name: Upload JVM Heapdumps # Windows runners are running into https://github.com/actions/upload-artifact/issues/240 if: runner.os != 'Windows' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: jvm-heap-dumps path: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a35088fffa..17ebce782c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -345,7 +345,7 @@ jobs: - name: EC2 Maven Logs if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: store-it-mvn-logs path: .github/scripts/ansible/files @@ -467,7 +467,7 @@ jobs: - name: EC2 Maven Logs if: failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: store-it-mvn-logs path: .github/scripts/ansible/files diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9e4bb7b6d5..1843f08d6e 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -60,7 +60,7 @@ jobs: - id: upload-keycloak-documentation name: Upload Keycloak documentation - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: keycloak-documentation path: docs/documentation/dist/target/*.zip diff --git a/.github/workflows/js-ci.yml b/.github/workflows/js-ci.yml index 8a28cb93a0..792b00cdac 100644 --- a/.github/workflows/js-ci.yml +++ b/.github/workflows/js-ci.yml @@ -57,7 +57,7 @@ jobs: mv ./quarkus/dist/target/keycloak-999.0.0-SNAPSHOT.tar.gz ./keycloak-999.0.0-SNAPSHOT.tar.gz - name: Upload Keycloak dist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: keycloak path: keycloak-999.0.0-SNAPSHOT.tar.gz @@ -175,7 +175,7 @@ jobs: - uses: ./.github/actions/pnpm-setup - name: Download Keycloak server - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: keycloak @@ -201,7 +201,7 @@ jobs: env: KEYCLOAK_SERVER: http://localhost:8080 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: account-ui-playwright-report @@ -210,7 +210,7 @@ jobs: - name: Upload server logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: account-ui-server-log path: ~/server.log @@ -253,7 +253,7 @@ jobs: run: pnpm --filter @keycloak/keycloak-admin-client build - name: Download Keycloak server - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: keycloak @@ -289,13 +289,13 @@ jobs: - name: Upload server logs if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: admin-ui-server-log-${{ matrix.container }}-${{ matrix.browser }} path: ~/server.log - name: Upload Cypress videos - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() && github.repository != 'keycloak/keycloak-private' with: name: cypress-videos-${{ matrix.container }}-${{ matrix.browser }} diff --git a/.github/workflows/operator-ci.yml b/.github/workflows/operator-ci.yml index 3ad64e8015..d495a93ccc 100644 --- a/.github/workflows/operator-ci.yml +++ b/.github/workflows/operator-ci.yml @@ -77,7 +77,7 @@ jobs: - name: Download keycloak distribution id: download-keycloak-dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: keycloak-dist path: quarkus/container @@ -121,7 +121,7 @@ jobs: - name: Download keycloak distribution id: download-keycloak-dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: keycloak-dist path: quarkus/container @@ -177,7 +177,7 @@ jobs: - name: Download keycloak distribution id: download-keycloak-dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: keycloak-dist path: quarkus/container