Skip to content

Commit

Permalink
Bump actions/upload-artifact and download-artifact to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi authored and gsmet committed Mar 22, 2024
1 parent 5ceb6a0 commit 2b0d7e9
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 45 deletions.
58 changes: 29 additions & 29 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.3.1
with:
name: pull-request-number-${{ github.event.number }}
path: pull-request-number
Expand Down Expand Up @@ -194,7 +194,7 @@ 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.3.1
with:
name: m2-io-quarkus
path: m2-io-quarkus.tgz
Expand All @@ -209,7 +209,7 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Initial JDK 17 Build"
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand All @@ -383,7 +383,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.3.1
if: failure()
with:
name: test-reports-jvm${{matrix.java.name}}
Expand All @@ -398,15 +398,15 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-JVM Tests - JDK ${{matrix.java.name}}"
path: |
build-reports.zip
retention-days: 7
- name: Upload build.log (if build failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: ${{ failure() || cancelled() }}
with:
name: "build-logs-JVM Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -458,7 +458,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand All @@ -485,7 +485,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.3.1
if: failure()
with:
name: test-reports-maven-java${{matrix.java.name}}
Expand All @@ -507,7 +507,7 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Maven Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -555,7 +555,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand Down Expand Up @@ -592,7 +592,7 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Gradle Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -642,7 +642,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand All @@ -668,7 +668,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.3.1
if: failure()
with:
name: test-reports-devtools-java${{matrix.java.name}}
Expand All @@ -683,7 +683,7 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Devtools Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -733,7 +733,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand All @@ -759,7 +759,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.3.1
if: failure()
with:
name: test-reports-kubernetes-java${{matrix.java.name}}
Expand All @@ -774,7 +774,7 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Kubernetes Tests - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -811,7 +811,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand Down Expand Up @@ -843,7 +843,7 @@ jobs:
'quarkus-quickstarts/target/build-report.json' \
'quarkus-quickstarts/LICENSE' \
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Quickstarts Compilation - JDK ${{matrix.java.name}}"
Expand Down Expand Up @@ -876,7 +876,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand Down Expand Up @@ -915,7 +915,7 @@ jobs:
'integration-tests/virtual-threads/target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Virtual Thread Support Tests Native - ${{matrix.category}}"
Expand Down Expand Up @@ -955,7 +955,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand All @@ -980,7 +980,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.3.1
if: failure()
with:
name: test-reports-tcks
Expand All @@ -995,7 +995,7 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-MicroProfile TCKs Tests"
Expand Down Expand Up @@ -1063,7 +1063,7 @@ jobs:
# refresh cache every week to avoid unlimited growth
key: ${{ needs.build-jdk17.outputs.m2-cache-key }}
- name: Download .m2/repository/io/quarkus
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: m2-io-quarkus
path: .
Expand All @@ -1090,7 +1090,7 @@ 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.3.1
if: failure()
with:
name: test-reports-native-${{matrix.category}}
Expand All @@ -1106,7 +1106,7 @@ jobs:
'target/gradle-build-scan-url.txt' \
LICENSE.txt
- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
if: always()
with:
name: "build-reports-Native Tests - ${{matrix.category}}"
Expand All @@ -1120,7 +1120,7 @@ jobs:
needs: [build-jdk17,jvm-tests,maven-tests,gradle-tests,devtools-tests,kubernetes-tests,quickstarts-tests,tcks-test,native-tests,virtual-thread-native-tests]
if: always()
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4.1.4
with:
path: build-reports-artifacts
- name: Set up JDK 17
Expand Down
4 changes: 2 additions & 2 deletions .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.3.1
with:
name: maven-repo
path: maven-repo.tgz
Expand All @@ -49,7 +49,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Download Maven repository
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: maven-repo
path: .
Expand Down
8 changes: 4 additions & 4 deletions .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.3.1
with:
name: maven-repo
path: maven-repo.tgz
Expand All @@ -49,7 +49,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Download Maven repository
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: maven-repo
path: .
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Download Maven repository
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: maven-repo
path: .
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
distribution: 'temurin'
java-version: '17'
- name: Download Maven repository
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
name: maven-repo
path: .
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.3.1
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.3.1
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.3.1
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 @@ -163,14 +163,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.3.1
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.3.1
if: ${{ failure() || cancelled() }}
with:
name: "build-reports-JVM Tests - JDK ${{matrix.java.name}}"
Expand All @@ -180,15 +180,15 @@ jobs:
LICENSE.txt
retention-days: 2
- name: Upload gc.log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.3.1
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.3.1
if: ${{ failure() || cancelled() }}
with:
name: "build-logs-JVM Tests - JDK ${{matrix.java.name}}"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
with:
repository: quarkusio/quarkusio.github.io
- name: Download PR Artifact
uses: dawidd6/action-download-artifact@v3
uses: actions/download-artifact@v4.1.4
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
workflow_conclusion: success
run-id: ${{ github.event.workflow_run.workflow_id }}
name: documentation
path: documentation-temp
- name: Store PR id as variable
Expand Down

0 comments on commit 2b0d7e9

Please sign in to comment.