Skip to content

Commit df19c6a

Browse files
authored
one more try at fixing PyPI uploads
1 parent a1b23f8 commit df19c6a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/tests+pypi.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,11 @@ jobs:
215215
uses: pypa/gh-action-pypi-publish@unstable/v1
216216
with:
217217
repository_url: https://test.pypi.org/legacy/
218-
- if: github.event_name == 'release' && github.event.action == 'created'
218+
- run: |
219+
echo "github.event_name:" ${{ github.event_name }}
220+
echo "github.event.action:" ${{ github.event.action }}
221+
echo "github.event.prerelease:" ${{ github.event.prerelease }}
222+
echo "env.GITHUB_REF:" ${{ env.GITHUB_REF }}
223+
echo "env.GITHUB_REF:" ${{ env.GITHUB_REF_NAME }}
224+
- if: github.event_name == 'release' && github.event.prerelease == false
219225
uses: pypa/gh-action-pypi-publish@unstable/v1

0 commit comments

Comments
 (0)