Skip to content

Commit 099c765

Browse files
author
ryan4984
committed
remove condition from PyPI publishing in release workflow
1 parent d7c035e commit 099c765

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build_upload_package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Build and upload to PyPI
33
# Build on every branch push, tag push, and pull request change:
44
on:
55
push:
6+
branches: 'main'
67
pull_request:
8+
branches: 'main'
79

810
jobs:
911
build_wheels:

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ jobs:
226226
name: Upload to PyPI
227227
needs: [build_wheels, build_sdist, publish]
228228
runs-on: ubuntu-latest
229-
# publish when a GitHub Release is created, use the following rule:
230-
if: github.event_name == 'release' && github.event.action == 'published'
231229
steps:
232230
- uses: actions/download-artifact@v3
233231
with:

0 commit comments

Comments
 (0)