添加提交到Gitea
Build and Publish / Run (push) Failing after 52s Details

This commit is contained in:
cxykevin 2024-04-18 21:12:58 +08:00
parent 00e8f51ce1
commit 735fc8f41e
1 changed files with 9 additions and 2 deletions

View File

@ -40,8 +40,15 @@ jobs:
ls
echo "Publish list:"
ls dist
- name: Publish
- name: Publish Gitea
env:
TWINE_REPOSITORY_URL: "https://gitea.example.com/api/packages/${{ secrets.PKG_GITEA_USERNAME }}/pypi"
TWINE_USERNAME: ${{ secrets.PKG_GITEA_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PKG_GITEA_KEY }}
run: |
twine upload dist/* --verbose --disable-progress-ba
- name: Publish Pypi
env:
TWINE_PASSWORD: ${{ secrets.PYPI_KEY }}
run: |
twine upload dist/* --verbose --disable-progress-bar
twine upload dist/* --verbose --disable-progress-barr