We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30e608 commit 9903c69Copy full SHA for 9903c69
.github/workflows/release.yaml
@@ -3,10 +3,10 @@ name: Release
3
on:
4
release:
5
types: [published]
6
- # For non-release, we want to exercise (a) building, (b) uploading to test.pypi.org
7
push:
8
branches: [master]
9
pull_request:
+ workflow_dispatch:
10
11
jobs:
12
deploy:
@@ -35,9 +35,7 @@ jobs:
35
36
- name: Publish to Test PyPI
37
uses: pypa/gh-action-pypi-publish@release/v1
38
- if: ${{ github.event_name != 'release' }}
+ if: ${{ github.event_name == 'workflow_dispatch' }}
39
with:
40
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
41
repository_url: https://test.pypi.org/legacy/
42
- # Since we run this often, it's OK if that version already exists
43
- skip_existing: true
0 commit comments