From 27b174ac6e56fc1ccd19f8078fa23471940b00b5 Mon Sep 17 00:00:00 2001 From: David Minton Date: Fri, 1 Mar 2024 19:59:02 -0500 Subject: [PATCH] Updated the github actions to get pypi upload to happen --- .github/workflows/build_wheels.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 488180420..a6920a76c 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -6,6 +6,9 @@ on: push: branches: - master + release: + types: + - published jobs: build_wheels: @@ -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: