Skip to content

Commit

Permalink
fix to push on release
Browse files Browse the repository at this point in the history
  • Loading branch information
taobrienlbl committed Nov 5, 2023
1 parent 7047d4e commit eb8bed9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ on:
types:
- published
push:
tags:
- '*'
branches:
- main


concurrency:
group: wheels-${{ github.head_ref }}
Expand Down Expand Up @@ -132,7 +133,6 @@ jobs:
name: Upload if release
needs: [build_wheels, build_arch_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'create' && github.ref_type == 'tag'

steps:
- uses: actions/download-artifact@v3
Expand All @@ -144,5 +144,6 @@ jobs:
run: ls -lh dist

- uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'release' && github.event.action == 'published'
with:
password: ${{ secrets.pypi_password }}

0 comments on commit eb8bed9

Please sign in to comment.