Skip to content

Commit

Permalink
Bump artifact actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasValvekens committed Dec 18, 2023
1 parent 6d7b0d3 commit 3d3f60f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand All @@ -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/
Expand All @@ -69,9 +69,9 @@ 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
name: coverage-${{ strategy.job-index }}
path: "*-coverage.xml"
live-integration-tests:
runs-on: ubuntu-latest
Expand All @@ -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/
Expand All @@ -109,9 +109,9 @@ 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
name: coverage-live-${{ strategy.job-index }}
path: "*-coverage.xml"
smoke-tests:
runs-on: ubuntu-latest
Expand All @@ -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/
Expand All @@ -144,9 +144,9 @@ 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
pattern: coverage-*
path: ./reports/
- name: Upload all coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3d3f60f

Please sign in to comment.