From d6d3ba35d4e4bb032e5b03793a93f4b8016b0148 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Tue, 2 Jan 2024 16:01:00 +0100 Subject: [PATCH] Revert "Bump actions/download-artifact from 3 to 4" (#25854) Signed-off-by: Alexander Schwartz Closes #25853 --- .github/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 | 3 +-- .github/actions/upload-heapdumps/action.yml | 2 +- .github/workflows/documentation.yml | 2 +- .github/workflows/js-ci.yml | 12 ++++++------ .github/workflows/operator-ci.yml | 6 +++--- 8 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/actions/archive-surefire-reports/action.yml b/.github/actions/archive-surefire-reports/action.yml index aedff197d0..a9104e66bc 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@v4 + uses: actions/upload-artifact@v3 with: name: surefire-${{ inputs.job-id }} path: | diff --git a/.github/actions/build-keycloak/action.yml b/.github/actions/build-keycloak/action.yml index 481472b0ca..0c8b9279ed 100644 --- a/.github/actions/build-keycloak/action.yml +++ b/.github/actions/build-keycloak/action.yml @@ -75,7 +75,7 @@ runs: - id: upload-keycloak-maven-repository name: Upload Keycloak Maven artifacts if: inputs.upload-m2-repo == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: m2-keycloak.tzts path: m2-keycloak.tzts @@ -84,7 +84,7 @@ runs: - id: upload-keycloak-dist name: Upload Keycloak dist if: inputs.upload-dist == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 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 70a8d3ec82..3a50e4224f 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@v4 + uses: actions/download-artifact@v3 with: name: m2-keycloak.tzts diff --git a/.github/actions/upload-flaky-tests/action.yml b/.github/actions/upload-flaky-tests/action.yml index a481e79cfa..f0d94451fd 100644 --- a/.github/actions/upload-flaky-tests/action.yml +++ b/.github/actions/upload-flaky-tests/action.yml @@ -47,10 +47,9 @@ runs: echo "EOF" >> $GITHUB_OUTPUT fi - # Use v3 as uploads with the v4 version of the plugin seems not to be downloadable with the current GitHub Application we're using - uses: actions/upload-artifact@v3 if: ${{ steps.flaky-tests.outputs.flakes }} with: name: flaky-tests-${{ github.job }}-${{ join(matrix.*, '-') }} path: ${{ steps.flaky-tests.outputs.flakes }} - if-no-files-found: error + if-no-files-found: error \ No newline at end of file diff --git a/.github/actions/upload-heapdumps/action.yml b/.github/actions/upload-heapdumps/action.yml index f74f11d189..d9c71b4d6f 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@v4 + uses: actions/upload-artifact@v3 with: name: jvm-heap-dumps path: '**/java_pid*.hprof' diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b097bcd803..a5e032a9ab 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -59,7 +59,7 @@ jobs: - id: upload-keycloak-documentation name: Upload Keycloak documentation - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 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 42478695dc..bbb045943a 100644 --- a/.github/workflows/js-ci.yml +++ b/.github/workflows/js-ci.yml @@ -56,7 +56,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@v4 + uses: actions/upload-artifact@v3 with: name: keycloak path: keycloak-999.0.0-SNAPSHOT.tar.gz @@ -201,7 +201,7 @@ jobs: working-directory: js - name: Download Keycloak server - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: keycloak @@ -229,7 +229,7 @@ jobs: env: KEYCLOAK_SERVER: http://localhost:8080 - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v3 if: always() with: name: account-ui-playwright-report @@ -238,7 +238,7 @@ jobs: - name: Upload server logs if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: account-ui-server-log path: ~/server.log @@ -284,7 +284,7 @@ jobs: working-directory: js - name: Download Keycloak server - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: keycloak @@ -324,7 +324,7 @@ jobs: - name: Upload server logs if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: admin-ui-server-log-${{ matrix.container }}-${{ matrix.browser }} path: ~/server.log diff --git a/.github/workflows/operator-ci.yml b/.github/workflows/operator-ci.yml index 9ec2c3e49b..25d7420ed0 100644 --- a/.github/workflows/operator-ci.yml +++ b/.github/workflows/operator-ci.yml @@ -76,7 +76,7 @@ jobs: - name: Download keycloak distribution id: download-keycloak-dist - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: keycloak-dist path: quarkus/container @@ -121,7 +121,7 @@ jobs: - name: Download keycloak distribution id: download-keycloak-dist - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: keycloak-dist path: quarkus/container @@ -177,7 +177,7 @@ jobs: - name: Download keycloak distribution id: download-keycloak-dist - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: keycloak-dist path: quarkus/container