Revert "Bump actions/download-artifact from 3 to 4" (#25854)

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>

Closes #25853
This commit is contained in:
Alexander Schwartz 2024-01-02 16:01:00 +01:00 committed by GitHub
parent f7d53ec776
commit d6d3ba35d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 17 deletions

View file

@ -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: |

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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'

View file

@ -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

View file

@ -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

View file

@ -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