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 - id: upload-surefire-linux
name: Upload Surefire reports name: Upload Surefire reports
if: (!cancelled() && contains(fromJSON(inputs.release-branches), github.ref) && contains(fromJSON('["push", "workflow_dispatch"]'), github.event_name)) 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: with:
name: surefire-${{ inputs.job-id }} name: surefire-${{ inputs.job-id }}
path: | path: |

View file

@ -75,7 +75,7 @@ runs:
- id: upload-keycloak-maven-repository - id: upload-keycloak-maven-repository
name: Upload Keycloak Maven artifacts name: Upload Keycloak Maven artifacts
if: inputs.upload-m2-repo == 'true' if: inputs.upload-m2-repo == 'true'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: m2-keycloak.tzts name: m2-keycloak.tzts
path: m2-keycloak.tzts path: m2-keycloak.tzts
@ -84,7 +84,7 @@ runs:
- id: upload-keycloak-dist - id: upload-keycloak-dist
name: Upload Keycloak dist name: Upload Keycloak dist
if: inputs.upload-dist == 'true' if: inputs.upload-dist == 'true'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: keycloak-dist name: keycloak-dist
path: quarkus/dist/target/keycloak*.tar.gz path: quarkus/dist/target/keycloak*.tar.gz

View file

@ -35,7 +35,7 @@ runs:
- id: download-keycloak - id: download-keycloak
name: Download Keycloak Maven artifacts name: Download Keycloak Maven artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: m2-keycloak.tzts name: m2-keycloak.tzts

View file

@ -47,7 +47,6 @@ runs:
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
fi 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 - uses: actions/upload-artifact@v3
if: ${{ steps.flaky-tests.outputs.flakes }} if: ${{ steps.flaky-tests.outputs.flakes }}
with: with:

View file

@ -8,7 +8,7 @@ runs:
name: Upload JVM Heapdumps name: Upload JVM Heapdumps
# Windows runners are running into https://github.com/actions/upload-artifact/issues/240 # Windows runners are running into https://github.com/actions/upload-artifact/issues/240
if: runner.os != 'Windows' if: runner.os != 'Windows'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: jvm-heap-dumps name: jvm-heap-dumps
path: '**/java_pid*.hprof' path: '**/java_pid*.hprof'

View file

@ -59,7 +59,7 @@ jobs:
- id: upload-keycloak-documentation - id: upload-keycloak-documentation
name: Upload Keycloak documentation name: Upload Keycloak documentation
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: keycloak-documentation name: keycloak-documentation
path: docs/documentation/dist/target/*.zip 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 mv ./quarkus/dist/target/keycloak-999.0.0-SNAPSHOT.tar.gz ./keycloak-999.0.0-SNAPSHOT.tar.gz
- name: Upload Keycloak dist - name: Upload Keycloak dist
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: keycloak name: keycloak
path: keycloak-999.0.0-SNAPSHOT.tar.gz path: keycloak-999.0.0-SNAPSHOT.tar.gz
@ -201,7 +201,7 @@ jobs:
working-directory: js working-directory: js
- name: Download Keycloak server - name: Download Keycloak server
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: keycloak name: keycloak
@ -229,7 +229,7 @@ jobs:
env: env:
KEYCLOAK_SERVER: http://localhost:8080 KEYCLOAK_SERVER: http://localhost:8080
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v3
if: always() if: always()
with: with:
name: account-ui-playwright-report name: account-ui-playwright-report
@ -238,7 +238,7 @@ jobs:
- name: Upload server logs - name: Upload server logs
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: account-ui-server-log name: account-ui-server-log
path: ~/server.log path: ~/server.log
@ -284,7 +284,7 @@ jobs:
working-directory: js working-directory: js
- name: Download Keycloak server - name: Download Keycloak server
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: keycloak name: keycloak
@ -324,7 +324,7 @@ jobs:
- name: Upload server logs - name: Upload server logs
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: admin-ui-server-log-${{ matrix.container }}-${{ matrix.browser }} name: admin-ui-server-log-${{ matrix.container }}-${{ matrix.browser }}
path: ~/server.log path: ~/server.log

View file

@ -76,7 +76,7 @@ jobs:
- name: Download keycloak distribution - name: Download keycloak distribution
id: download-keycloak-dist id: download-keycloak-dist
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: keycloak-dist name: keycloak-dist
path: quarkus/container path: quarkus/container
@ -121,7 +121,7 @@ jobs:
- name: Download keycloak distribution - name: Download keycloak distribution
id: download-keycloak-dist id: download-keycloak-dist
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: keycloak-dist name: keycloak-dist
path: quarkus/container path: quarkus/container
@ -177,7 +177,7 @@ jobs:
- name: Download keycloak distribution - name: Download keycloak distribution
id: download-keycloak-dist id: download-keycloak-dist
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
name: keycloak-dist name: keycloak-dist
path: quarkus/container path: quarkus/container