From aa21528177de38169c2bb6dc4e817ef78128bab3 Mon Sep 17 00:00:00 2001 From: Matthias Valvekens Date: Sun, 17 Dec 2023 23:29:58 +0100 Subject: [PATCH] Bump artifact actions to @v4 --- .github/workflows/build-pipeline.yml | 14 +++++++------- .github/workflows/release.yml | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-pipeline.yml b/.github/workflows/build-pipeline.yml index ea8d2edf..eaa10904 100644 --- a/.github/workflows/build-pipeline.yml +++ b/.github/workflows/build-pipeline.yml @@ -42,7 +42,7 @@ jobs: id: artifact-hashes run: cd dist && echo "hashes=$(sha256sum * | base64 -w0)" >> "$GITHUB_OUTPUT" - name: Upload dist artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pyhanko-dist path: dist/ @@ -59,7 +59,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Download dist artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pyhanko-dist path: dist/ @@ -69,7 +69,7 @@ jobs: env: PKCS11_TEST_MODULE: ${{ env.SOFTHSM2_MODULE_PATH }} - name: Stash coverage report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage path: "*-coverage.xml" @@ -86,7 +86,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Download dist artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pyhanko-dist path: dist/ @@ -109,7 +109,7 @@ jobs: LIVE_CERTOMANCER_HOST_URL: http://localhost:9000 LIVE_CSC_SCAL2_HOST_URL: http://localhost:8999 - name: Stash coverage report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: coverage path: "*-coverage.xml" @@ -123,7 +123,7 @@ jobs: with: python-version: ${{ env.MAIN_PYTHON_VERSION }} - name: Download dist artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pyhanko-dist path: dist/ @@ -144,7 +144,7 @@ jobs: # checkout necessary to ensure the uploaded report contains the correct paths - uses: actions/checkout@v4 - name: Retrieve coverage reports - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: coverage path: ./reports/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ed8ff74..911f39bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: env: VERSION: ${{ steps.getversion.outputs.version }} - name: Upload release body - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release-body path: release.md @@ -81,17 +81,17 @@ jobs: discussions: write steps: - name: Download dist artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: pyhanko-dist path: dist/ - name: Download provenance data - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: multiple.intoto.jsonl path: provenance/ - name: Download release body - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: release-body path: release-body