Updating actions as well, not only workflows

Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
This commit is contained in:
Alexander Schwartz 2023-12-16 12:51:28 +01:00
parent 04e7f9a245
commit dea0f3c3db
5 changed files with 7 additions and 7 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

@ -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@v3 uses: actions/upload-artifact@v4
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@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,9 +47,9 @@ 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.*, '-') }}
path: ${{ steps.flaky-tests.outputs.flakes }} 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 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: '**/java_pid*.hprof' path: '**/java_pid*.hprof'