Skip to content

Commit 0b96c66

Browse files
committed
update workflow
1 parent cc1998b commit 0b96c66

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/pypi.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ name: build an publish
33
on:
44
push:
55
branches:
6-
- main
6+
- release
77
workflow_dispatch:
88

99
jobs:
1010
build-and-publish:
11-
if: startsWith(github.ref, 'refs/tags/')
1211
name: build an publish
1312
runs-on: ubuntu-latest
1413
steps:
@@ -30,7 +29,6 @@ jobs:
3029
# repository_url: https://test.pypi.org/legacy/
3130
# skip-existing: true
3231
- name: Publish to PyPI
33-
if: startsWith(github.ref, 'refs/tags')
3432
uses: pypa/gh-action-pypi-publish@release/v1
3533
with:
3634
password: ${{ secrets.pypi_pywaybackup }}

0 commit comments

Comments
 (0)