Skip to content

Commit

Permalink
ci: add pre-release only on push
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhaoyilunnn committed Apr 7, 2024
1 parent 2f8c0d7 commit acbd6f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ jobs:

# Used to update whl in latest draft
- uses: ncipollo/release-action@v1
if: github.event_name == 'push'
with:
artifacts: dist/*.whl
allowUpdates: true
tag: pre-release
draft: true
prerelease: true
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit acbd6f3

Please sign in to comment.