Skip to content

Commit

Permalink
FIX: Artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Oct 14, 2022
1 parent 754b9a5 commit b07b693
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,21 @@ jobs:
- name: Check env vars
run: |
echo "Triggered by: ${{ github.event_name }}"
- uses: actions/upload-artifact@v3
with:
name: dist
path: |
dist
# PyPI on release
pypi:
needs: package
runs-on: ubuntu-latest
if: github.event_name == 'release'
steps:
- uses: actions/download-artifact@v3
with:
name: dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -53,6 +61,9 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/download-artifact@v3
with:
name: dist
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit b07b693

Please sign in to comment.