Skip to content

Commit

Permalink
Test release
Browse files Browse the repository at this point in the history
  • Loading branch information
coldfix committed Nov 23, 2023
1 parent 449b3c9 commit 39f5f5b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ jobs:

- uses: actions/upload-artifact@v3
with: {name: dist, path: dist/}
if: startsWith(github.ref, 'refs/tags/v') &&
matrix.os == 'ubuntu-20.04' &&
if: matrix.os == 'ubuntu-20.04' &&
matrix.python == '3.9'

deploy:
name: Upload release
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/v') && success()
# if: startsWith(github.ref, 'refs/tags/v') && success()
environment:
name: pypi
permissions:
Expand All @@ -61,3 +60,5 @@ jobs:
- uses: actions/download-artifact@v3
with: {name: dist, path: dist/}
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy

0 comments on commit 39f5f5b

Please sign in to comment.