Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/upload-artifact from 3 to 4 #248

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .github/workflows/ci-actions-incremental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: |
echo -n ${{ github.event.number }} > pull-request-number
- name: Upload pull request number
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pull-request-number-${{ github.event.number }}
path: pull-request-number
Expand Down Expand Up @@ -194,15 +194,15 @@ jobs:
- name: Tar .m2/repository/io/quarkus
run: tar -czf m2-io-quarkus.tgz -C ~ .m2/repository/io/quarkus
- name: Upload .m2/repository/io/quarkus
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: m2-io-quarkus
path: m2-io-quarkus.tgz
retention-days: 7
- name: Delete snapshots artifacts from cache
run: find ~/.m2 -name \*-SNAPSHOT -type d -exec rm -rf {} +
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Initial JDK 17 Build"
Expand Down Expand Up @@ -375,14 +375,14 @@ jobs:
if: failure()
run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-jvm${{matrix.java.name}}
path: 'test-reports.tgz'
retention-days: 7
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-JVM Tests - JDK ${{matrix.java.name}}"
Expand All @@ -393,7 +393,7 @@ jobs:
LICENSE.txt
retention-days: 7
- name: Upload build.log (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-logs-JVM Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:
if: failure()
run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-maven-java${{matrix.java.name}}
Expand All @@ -486,7 +486,7 @@ jobs:
if [ -d 'integration-tests/maven/target/test-classes/projects/qit?legacy?jar' ]; then mv 'integration-tests/maven/target/test-classes/projects/qit?legacy?jar' 'integration-tests/maven/target/test-classes/projects/qit--legacy--jar'; fi
if [ -d 'integration-tests/maven/target/test-classes/projects/qit?uber?jar' ]; then mv 'integration-tests/maven/target/test-classes/projects/qit?uber?jar' 'integration-tests/maven/target/test-classes/projects/qit--uber--jar'; fi
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Maven Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -565,7 +565,7 @@ jobs:
# Important: keep -pl ... in sync with "Calculate run flags"!
run: ./mvnw $COMMON_MAVEN_ARGS $JVM_TEST_MAVEN_ARGS clean install -pl integration-tests/gradle
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Gradle Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -645,14 +645,14 @@ jobs:
if: failure()
run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-devtools-java${{matrix.java.name}}
path: 'test-reports.tgz'
retention-days: 7
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Devtools Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -731,14 +731,14 @@ jobs:
if: failure()
run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-kubernetes-java${{matrix.java.name}}
path: 'test-reports.tgz'
retention-days: 7
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Kubernetes Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -803,7 +803,7 @@ jobs:
git checkout development
export LANG=en_US && ./mvnw -e -B -fae --settings .github/mvn-settings.xml clean verify -DskipTests
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Quickstarts Compilation - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -869,7 +869,7 @@ jobs:
run: |
export LANG=en_US && ./mvnw $COMMON_MAVEN_ARGS -f integration-tests/virtual-threads -pl "$TEST_MODULES" $NATIVE_TEST_MAVEN_ARGS -Dextra-args=--enable-preview -Dquarkus.native.container-build=true
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Virtual Thread Support Tests Native - ${{matrix.category}}"
Expand Down Expand Up @@ -936,14 +936,14 @@ jobs:
if: failure()
run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-tcks
path: 'test-reports.tgz'
retention-days: 7
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-MicroProfile TCKs Tests"
Expand Down Expand Up @@ -1034,14 +1034,14 @@ jobs:
if: failure()
run: find . -type d -name '*-reports' -o -wholename '*/build/reports/tests/functionalTest' -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-native-${{matrix.category}}
path: 'test-reports.tgz'
retention-days: 7
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-Native Tests - ${{matrix.category}}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-istio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
shell: bash
run: tar -I 'pigz -9' -cf maven-repo.tgz -C ~ .m2/repository
- name: Persist Maven repository
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maven-repo
path: maven-repo.tgz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-kubernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
shell: bash
run: tar -I 'pigz -9' -cf maven-repo.tgz -C ~ .m2/repository
- name: Persist Maven repository
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maven-repo
path: maven-repo.tgz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: echo ${{ github.event.number }} > pr-id.txt

- name: Persist documentation
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: documentation
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jdk-early-access-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
shell: bash
run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-linux-jvm${{ matrix.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/owasp-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Perform OWASP Dependency Check Report
run: ./mvnw -Dowasp-report

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dependency-check-report
path: target/dependency-check-report.html
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/podman-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@ jobs:
shell: bash
run: find . -name '*-reports' -type d -o -name '*.log' | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-jvm${{matrix.java.name}}
path: 'test-reports.tgz'
retention-days: 5
- name: Upload build reports (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-JVM Tests - JDK ${{matrix.java.name}}"
Expand All @@ -179,15 +179,15 @@ jobs:
LICENSE.txt
retention-days: 2
- name: Upload gc.log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "GC log - JDK ${{matrix.java.name}}"
path: |
**/windows-java-11.txt
!**/build/tmp/**
retention-days: 5
- name: Upload build.log (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: "build-logs-JVM Tests - JDK ${{matrix.java.name}}"
Expand Down
Loading