From e94235e2c20cf91b12d5268cff31fd185bbecc95 Mon Sep 17 00:00:00 2001 From: masklinn Date: Sat, 23 Nov 2024 15:03:05 +0100 Subject: [PATCH] m --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ff55ef..e144b97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,8 @@ jobs: with: submodules: true fetch-depth: 0 - - run: echo "${{ inputs.tag }}" - - run: echo "${{ inputs.environment }}" + - run: echo "${{ toJSON(inputs) }}" + - run: echo "${{ toJSON(github.event) }}" - name: Set up Python uses: actions/setup-python@v5 with: @@ -41,7 +41,7 @@ jobs: publish-to-testpypi: name: Publish to TestPyPI - if: inputs.environment == 'testpypy' + if: ${{ github.event.inputs.environment == 'testpypi' }} needs: - build runs-on: ubuntu-latest @@ -66,7 +66,7 @@ jobs: publish-to-pypi: name: publish - if: inputs.environment == 'pypy' + if: ${{ inputs.environment == 'pypi' }} needs: - build runs-on: ubuntu-latest