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 57c5e39 commit fc586ccCopy full SHA for fc586cc
.github/workflows/pypi-release.yml
@@ -21,6 +21,7 @@ jobs:
21
steps:
22
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
23
with:
24
+ ref: ${{ github.event.release.tag_name || github.ref }}
25
persist-credentials: false
26
27
- name: Set up Python
@@ -42,7 +43,7 @@ jobs:
42
43
runs-on: ubuntu-latest
44
needs:
45
- release-build
- if: ${{ github.event_name == 'workflow_dispatch' && !github.event.inputs.dry_run }}
46
+ if: github.event_name == 'workflow_dispatch' && !github.event.inputs.dry_run
47
environment:
48
name: testpypi
49
permissions:
@@ -66,7 +67,7 @@ jobs:
66
67
68
69
- if: ${{ github.event_name == 'release' }}
70
+ if: github.event_name == 'release'
71
72
name: pypi
73
0 commit comments