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 fe0290f commit 1b385dbCopy full SHA for 1b385db
.github/workflows/build.yml
@@ -370,7 +370,6 @@ jobs:
370
name: Upload release
371
needs: test
372
runs-on: ubuntu-latest
373
- if: startsWith(github.ref, 'refs/tags/v')
374
375
environment:
376
name: pypi
@@ -391,6 +390,13 @@ jobs:
391
390
392
- name: Publish PyPI package
393
uses: pypa/gh-action-pypi-publish@release/v1
+ if: startsWith(github.ref, 'refs/tags/v')
394
+
395
+ - name: Publish TestPyPI package
396
+ uses: pypa/gh-action-pypi-publish@release/v1
397
+ if: github.ref == 'refs/heads/test-release'
398
+ with:
399
+ repository-url: https://test.pypi.org/legacy/
400
401
- name: Create GitHub Release
402
uses: softprops/action-gh-release@v2
0 commit comments