Skip to content

Commit e94235e

Browse files
committed
m
1 parent cc718e5 commit e94235e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
with:
2222
submodules: true
2323
fetch-depth: 0
24-
- run: echo "${{ inputs.tag }}"
25-
- run: echo "${{ inputs.environment }}"
24+
- run: echo "${{ toJSON(inputs) }}"
25+
- run: echo "${{ toJSON(github.event) }}"
2626
- name: Set up Python
2727
uses: actions/setup-python@v5
2828
with:
@@ -41,7 +41,7 @@ jobs:
4141

4242
publish-to-testpypi:
4343
name: Publish to TestPyPI
44-
if: inputs.environment == 'testpypy'
44+
if: ${{ github.event.inputs.environment == 'testpypi' }}
4545
needs:
4646
- build
4747
runs-on: ubuntu-latest
@@ -66,7 +66,7 @@ jobs:
6666

6767
publish-to-pypi:
6868
name: publish
69-
if: inputs.environment == 'pypy'
69+
if: ${{ inputs.environment == 'pypi' }}
7070
needs:
7171
- build
7272
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)