Skip to content

Commit

Permalink
chore: Update release workflow configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
cauliyang committed Oct 25, 2023
1 parent 9e9615e commit df7087f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,20 @@ jobs:
skip_existing: true
packages_dir: artifact/

- name: Publish the release notes
uses: release-drafter/[email protected]
with:
publish: ${{ needs.release.outputs.tag != '' }}
tag: ${{ needs.release.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

upload_to_test_pypi:
needs: ["release"]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3

- name: Publish package on TestPyPI
if: "! needs.release.outputs.tag"
uses: pypa/[email protected]
Expand Down

0 comments on commit df7087f

Please sign in to comment.