Skip to content

Commit 9bddf13

Browse files
committed
fix(ci/release): typo in reference
1 parent b211cd4 commit 9bddf13

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ jobs:
126126
if: (( github.event.inputs.dry_run != 'true' ) && ( (needs.setup.outputs.publish_env == 'pypi') || (needs.setup.outputs.publish_env == 'testpypi') ) )
127127
runs-on: ubuntu-latest
128128
environment:
129-
name: ${{ needs.setup_outputs.publish_env }}
130-
url: ${{ needs.setup_outputs.publish_to }}
129+
name: ${{ needs.setup.outputs.publish_env }}
130+
url: ${{ needs.setup.outputs.publish_to }}
131131
permissions:
132132
id-token: write
133133
steps:
@@ -137,9 +137,12 @@ jobs:
137137
- name: Publish to PyPI
138138
if: needs.setup.outputs.publish_env=='pypi'
139139
uses: pypa/gh-action-pypi-publish@release/v1
140+
with:
141+
environment: pypi
140142

141143
- name: Publish to TestPyPI
142144
if: needs.setup.outputs.publish_env=='testpypi'
143145
uses: pypa/gh-action-pypi-publish@release/v1
144146
with:
147+
environment: testpypi
145148
repository-url: https://test.pypi.org/uploads/legacy

0 commit comments

Comments
 (0)