Skip to content

Commit 879b51b

Browse files
committed
try a different condition for ifs in dist
1 parent 2bcad29 commit 879b51b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/dist.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,14 @@ jobs:
6969

7070
- name: Generate artifact attestations
7171
uses: actions/attest-build-provenance@v3
72-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
72+
if: github.event_name == 'workflow_dispatch'
73+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
7374
with:
7475
subject-path: "dist/*"
7576

7677
- name: Publish package distributions to PyPI
7778
uses: pypa/gh-action-pypi-publish@release/v1
7879
with:
7980
verbose: true
80-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
81+
if: github.event_name == 'workflow_dispatch'
82+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)