Skip to content

Commit

Permalink
ci: upgrade to v4 of upload/download-artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Feb 21, 2024
1 parent 5622083 commit 2e5ccfc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ jobs:
sha256sum * | tee SHA256SUMS
- name: Upload Python artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
name: dist-${{ github.run_number }}
path: dist
if-no-files-found: error

- name: Upload Javascript artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jsdist
name: jsdist-${{ github.run_number }}
path: jsdist
if-no-files-found: error

Expand All @@ -93,9 +93,9 @@ jobs:
python-version: "3.11"

- name: Download artifacts from build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
name: dist-${{ github.run_number }}
path: dist

# The PyPI publishing action will try to publish this checksum file as if
Expand Down Expand Up @@ -125,9 +125,9 @@ jobs:
registry-url: https://registry.npmjs.org

- name: Download artifacts from build
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jsdist
name: jsdist-${{ github.run_number }}
path: jsdist

- run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: pyproject-build

- name: Upload built artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist-${{ github.run_number }}
path: ./dist
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
run: pip install --upgrade pip

- name: Download built artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist-${{ github.run_number }}
path: ./dist
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
- name: Upload test reports
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: |-
tests-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.pip-extras }}-${{ github.run_number }}
Expand Down

0 comments on commit 2e5ccfc

Please sign in to comment.