Skip to content

Commit

Permalink
update actions/[upload|download]-artifact@v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 committed Apr 1, 2024
1 parent 6b234d7 commit 7822b17
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,20 @@ jobs:
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: my-artifact-${{ matrix.runs-on }}-${{ matrix.python-version }}
path: ./dist/

upload_all:
needs: [bdist, sdist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: startsWith(github.ref, 'refs/tags/')
with:
name: artifact
path: dist
path: ./dist/
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@v1.8.14
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 7822b17

Please sign in to comment.