Skip to content

Commit

Permalink
Add upload-artifact for build dist (sdist, whl), fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed May 26, 2024
1 parent 908c799 commit 2190ba3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
- name: Build dist
run: hatch build

- uses: actions/upload-artifact@v4
with:
name: gridit-build
path: dist/*

- name: Publish on PyPI
if: github.ref == 'refs/heads/main'
if: github.event_name == 'release' && github.event.action == 'published'
run: hatch publish

0 comments on commit 2190ba3

Please sign in to comment.