mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
re-enable pypi uploads
temporarily tagging this as 2.1.25, since these CI changes are required for PyPi, and the packaged versions were made a few revisions back
This commit is contained in:
parent
b51ca01dcb
commit
6046bbc779
1 changed files with 2 additions and 2 deletions
4
.github/workflows/checks.yml
vendored
4
.github/workflows/checks.yml
vendored
|
@ -357,7 +357,7 @@ jobs:
|
|||
path: dist
|
||||
|
||||
- name: Upload to PyPi Windows
|
||||
if: matrix.BUILD_TYPE == 'disabled' && startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest'
|
||||
if: matrix.BUILD_TYPE == 'build' && startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows-latest'
|
||||
shell: cmd
|
||||
env:
|
||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||
|
@ -375,7 +375,7 @@ jobs:
|
|||
python -m twine upload --non-interactive --skip-existing --verbose ./*
|
||||
|
||||
- name: Upload to PyPi Linux/Mac OS
|
||||
if: matrix.BUILD_TYPE == 'disabled' && startsWith(github.ref, 'refs/tags/') && ( matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' )
|
||||
if: matrix.BUILD_TYPE == 'build' && startsWith(github.ref, 'refs/tags/') && ( matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' )
|
||||
env:
|
||||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
|
||||
TWINE_USERNAME: __token__
|
||||
|
|
Loading…
Reference in a new issue