Upgrade artifact actions to latest version (#28483)

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops 2024-04-15 17:14:00 +02:00 committed by GitHub
parent 04fec6cfca
commit 88d5970944
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 19 additions and 19 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@v3 uses: actions/upload-artifact@v4
with: with:
name: surefire-${{ inputs.job-id }} name: surefire-${{ inputs.job-id }}
path: | path: |

View file

@ -51,7 +51,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@v3 uses: actions/upload-artifact@v4
with: with:
name: m2-keycloak.tzts name: m2-keycloak.tzts
path: m2-keycloak.tzts path: m2-keycloak.tzts
@ -60,7 +60,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@v3 uses: actions/upload-artifact@v4
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@v3 uses: actions/download-artifact@v4
with: with:
name: m2-keycloak.tzts name: m2-keycloak.tzts

View file

@ -47,7 +47,7 @@ runs:
echo "EOF" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT
fi fi
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: ${{ steps.flaky-tests.outputs.flakes }} if: ${{ steps.flaky-tests.outputs.flakes }}
with: with:
name: flaky-tests-${{ github.job }}-${{ join(matrix.*, '-') }} name: flaky-tests-${{ github.job }}-${{ join(matrix.*, '-') }}

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@v3 uses: actions/upload-artifact@v4
with: with:
name: jvm-heap-dumps name: jvm-heap-dumps
path: | path: |

View file

@ -345,7 +345,7 @@ jobs:
- name: EC2 Maven Logs - name: EC2 Maven Logs
if: failure() if: failure()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: store-it-mvn-logs name: store-it-mvn-logs
path: .github/scripts/ansible/files path: .github/scripts/ansible/files
@ -467,7 +467,7 @@ jobs:
- name: EC2 Maven Logs - name: EC2 Maven Logs
if: failure() if: failure()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: store-it-mvn-logs name: store-it-mvn-logs
path: .github/scripts/ansible/files path: .github/scripts/ansible/files

View file

@ -60,7 +60,7 @@ jobs:
- id: upload-keycloak-documentation - id: upload-keycloak-documentation
name: Upload Keycloak documentation name: Upload Keycloak documentation
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: keycloak-documentation name: keycloak-documentation
path: docs/documentation/dist/target/*.zip path: docs/documentation/dist/target/*.zip

View file

@ -57,7 +57,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@v3 uses: actions/upload-artifact@v4
with: with:
name: keycloak name: keycloak
path: keycloak-999.0.0-SNAPSHOT.tar.gz path: keycloak-999.0.0-SNAPSHOT.tar.gz
@ -175,7 +175,7 @@ jobs:
- uses: ./.github/actions/pnpm-setup - uses: ./.github/actions/pnpm-setup
- name: Download Keycloak server - name: Download Keycloak server
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: keycloak name: keycloak
@ -201,7 +201,7 @@ jobs:
env: env:
KEYCLOAK_SERVER: http://localhost:8080 KEYCLOAK_SERVER: http://localhost:8080
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: account-ui-playwright-report name: account-ui-playwright-report
@ -210,7 +210,7 @@ jobs:
- name: Upload server logs - name: Upload server logs
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: account-ui-server-log name: account-ui-server-log
path: ~/server.log path: ~/server.log
@ -253,7 +253,7 @@ jobs:
run: pnpm --filter @keycloak/keycloak-admin-client build run: pnpm --filter @keycloak/keycloak-admin-client build
- name: Download Keycloak server - name: Download Keycloak server
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: keycloak name: keycloak
@ -289,13 +289,13 @@ jobs:
- name: Upload server logs - name: Upload server logs
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
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
- name: Upload Cypress videos - name: Upload Cypress videos
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: always() && github.repository != 'keycloak/keycloak-private' if: always() && github.repository != 'keycloak/keycloak-private'
with: with:
name: cypress-videos-${{ matrix.container }}-${{ matrix.browser }} name: cypress-videos-${{ matrix.container }}-${{ matrix.browser }}

View file

@ -77,7 +77,7 @@ jobs:
- name: Download keycloak distribution - name: Download keycloak distribution
id: download-keycloak-dist id: download-keycloak-dist
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
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@v3 uses: actions/download-artifact@v4
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@v3 uses: actions/download-artifact@v4
with: with:
name: keycloak-dist name: keycloak-dist
path: quarkus/container path: quarkus/container