撤销存档,改为手动触发

This commit is contained in:
cxykevin 2024-04-17 22:44:04 +08:00
parent 28e1061c26
commit fb1b77ef9d
1 changed files with 1 additions and 6 deletions

View File

@ -1,6 +1,6 @@
name: Build and Publish name: Build and Publish
run-name: Build and Publish Package (${{ gitea.actor }}) run-name: Build and Publish Package (${{ gitea.actor }})
on: [push] on: [workflow_dispatch, pull_request]
jobs: jobs:
Run: Run:
@ -45,8 +45,3 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_KEY }} TWINE_PASSWORD: ${{ secrets.PYPI_KEY }}
run: | run: |
twine upload dist/* --verbose --disable-progress-bar twine upload dist/* --verbose --disable-progress-bar
- name: Archive
uses: http://hmtsai.cn:3000/actions/upload-artifact@v4
with:
path: dist/*
retention-days: 60