Skip to content

Commit

Permalink
Fixed build publish
Browse files Browse the repository at this point in the history
  • Loading branch information
uchendui committed Sep 4, 2024
1 parent 8fb4fbb commit 336bb55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build-wheels:
runs-on: ${{ matrix.os }}
permissions:
contents: read
contents: write
strategy:
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- build-wheels
if: github.event_name == 'release' && github.event.action == 'published'
if: github.event_name == 'release' && github.event.action == 'published && github.event.release.prerelease == false
steps:
- name: Download dists
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 336bb55

Please sign in to comment.