From fd7314c8502e579150bd2c6a43375f4c92bd41a4 Mon Sep 17 00:00:00 2001 From: fpinto Date: Thu, 11 Jan 2024 11:33:42 +0100 Subject: [PATCH] Update artifacts actions --- .github/workflows/coverage.yml | 2 +- .github/workflows/package.yml | 28 ++++++++++++++-------------- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 16 ++++++++-------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 62656858e45..788e7a4dafe 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -60,7 +60,7 @@ jobs: destination_dir: coverage - name: Archive Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: coverage diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index fc09fa70941..24ab5075989 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -50,7 +50,7 @@ jobs: bin/release/man.sh bin/release/create_tarball.sh - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 with: name: release-generic-linux-x64-artifacts path: target/upload/* @@ -64,7 +64,7 @@ jobs: with: ref: ${{ inputs.branch }} - name: Retrieve release-generic-linux-x64-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.1 with: name: release-generic-linux-x64-artifacts path: target/upload @@ -99,7 +99,7 @@ jobs: bin/test/test_integ.sh echo "::endgroup::" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: test-generic-linux-package-docker-ubuntu-x64-artifacts @@ -115,7 +115,7 @@ jobs: with: ref: ${{ inputs.branch }} - name: Retrieve release-generic-linux-x64-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.1 with: name: release-generic-linux-x64-artifacts path: target/upload @@ -150,7 +150,7 @@ jobs: bin/test/test_integ.sh echo "::endgroup::" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: test-generic-linux-package-docker-debian-x64-artifacts @@ -166,7 +166,7 @@ jobs: with: ref: ${{ inputs.branch }} - name: Retrieve release-generic-linux-x64-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.1 with: name: release-generic-linux-x64-artifacts path: target/upload @@ -201,7 +201,7 @@ jobs: bin/test/test_integ.sh echo "::endgroup::" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: test-generic-linux-package-docker-archlinux-x64-artifacts @@ -217,7 +217,7 @@ jobs: with: ref: ${{ inputs.branch }} - name: Retrieve release-generic-linux-x64-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.1 with: name: release-generic-linux-x64-artifacts path: target/upload @@ -252,7 +252,7 @@ jobs: bin/test/test_integ.sh echo "::endgroup::" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: test-generic-linux-package-docker-fedora-x64-artifacts @@ -326,7 +326,7 @@ jobs: # pwd # find . -name "*.log" # - name: Archive production artifacts -# uses: actions/upload-artifact@v3 +# uses: actions/upload-artifact@v4.0.0 # if: ${{ always() }} # with: # name: test-docker-arm64-package-artifacts @@ -397,7 +397,7 @@ jobs: pwd find . -name "*.log" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: test-docker-amd64-package-artifacts @@ -449,7 +449,7 @@ jobs: bin/test/test_prerequisites.sh bin/test/test_integ.sh - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 with: name: release-deb-x64-artifacts path: target/upload/* @@ -495,7 +495,7 @@ jobs: bin/test/test_prerequisites.sh bin/test/test_integ.sh - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 with: name: release-macos-x64-artifacts path: target/upload/* @@ -546,7 +546,7 @@ jobs: .\bin\test\test_prerequisites.ps1 .\bin\test\test_integ.ps1 - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 with: name: release-windows-x64-artifacts path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5aa1fa95780..db4e2019d49 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -264,7 +264,7 @@ jobs: fi - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: release-changelog @@ -309,7 +309,7 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - - uses: actions/download-artifact@master + - uses: actions/download-artifact@v4.1.1 with: path: artifacts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f462998e79c..888239b045e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,7 +42,7 @@ jobs: - name: Bench Suite run: bin/test/bench.sh - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-bench-artifacts @@ -86,7 +86,7 @@ jobs: - name: Integration Tests run: bin/test/test_integ.sh - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-ubuntu-latest-${{ matrix.rust }}-artifacts @@ -132,7 +132,7 @@ jobs: - name: Integration Tests run: bin/test/test_integ.sh - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-ubuntu-20.04-${{ matrix.rust }}-artifacts @@ -175,7 +175,7 @@ jobs: bin/test/test.sh echo "::endgroup::" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-archlinux-x64-artifacts @@ -220,7 +220,7 @@ jobs: pwd find . -name "*.log" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-fedora-x64-artifacts @@ -267,7 +267,7 @@ jobs: pwd find . -name "*.log" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-alpine-x64-artifacts @@ -312,7 +312,7 @@ jobs: pwd find . -name "*.log" - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-macos-${{ matrix.rust }}-artifacts @@ -353,7 +353,7 @@ jobs: - name: Build and test run: .\bin\test\test.ps1 - name: Archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.0.0 if: ${{ always() }} with: name: tests-win64-${{ matrix.rust }}-artifacts