Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ndamania00 committed Oct 18, 2024
1 parent 19c048d commit c8e4c72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Test PyPI publish
# Publish to PyPi test once a maintainer creates a pre-release
on:
release:
types: [prereleased]
types: [published]
jobs:
build:
if: startsWith(github.event.release.tag_name, 'v') && github.event.release.prerelease == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Test PyPI publish
# Publish to PyPi test once a maintainer creates a pre-release
on:
release:
types: [released]
types: [published]
jobs:
build:
if: startsWith(github.event.release.tag_name, 'v') && github.event.release.prerelease == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c8e4c72

Please sign in to comment.