Skip to content

Commit

Permalink
Update artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed Dec 20, 2023
1 parent 2fd1a0f commit f4d4ea4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,9 @@ jobs:
python -m pip install --upgrade pip wheel build
python -m build --sdist --wheel
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact
path: |
./dist/*.whl
./dist/*.tar.gz
Expand All @@ -240,9 +241,8 @@ jobs:
id-token: write # mandatory for PyPI publishing
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- name: Publish to PyPI
Expand All @@ -257,9 +257,8 @@ jobs:
# Required to create a release
contents: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- name: Create Release
Expand Down

0 comments on commit f4d4ea4

Please sign in to comment.