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