Skip to content

Commit

Permalink
Update github workflows (#18)
Browse files Browse the repository at this point in the history
- Add workflow_dispatch to trigger test workflow.
- Add release type to push wheels to PyPI instead of relying on
formatted tags.
  • Loading branch information
catanzaromj committed Jun 28, 2024
1 parent 3a3d62f commit 5c806ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
url: https://pypi.org/p/tadasets
permissions:
id-token: write
if: startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

jobs:
test:
Expand Down

0 comments on commit 5c806ae

Please sign in to comment.