Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Updated the github actions to get pypi upload to happen
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Mar 2, 2024
1 parent 0c45d8d commit 27b174a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
push:
branches:
- master
release:
types:
- published

jobs:
build_wheels:
Expand Down Expand Up @@ -48,7 +51,7 @@ jobs:
url: https://pypi.org/p/swiftest
permissions:
id-token: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 27b174a

Please sign in to comment.