Skip to content

Commit

Permalink
Add package build step before attempting to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrayner committed Dec 17, 2022
1 parent c2da7f1 commit ec04733
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
with:
name: code-coverage-report
path: htmlcov/*
- name: Build release package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: make package
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit ec04733

Please sign in to comment.