Skip to content

Commit

Permalink
chore: update release action
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <me@frostming.com>
  • Loading branch information
frostming committed Jul 27, 2023
1 parent 27ad8ff commit 653a375
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
id: tag
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}

- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11"

- name: Install and set up Poetry
run: |
Expand All @@ -44,8 +44,9 @@ jobs:
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*"
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
allowUpdates: true
generateReleaseNotes: true
prerelease: steps.check-version.outputs.prerelease == 'true'

- name: Publish to PyPI
Expand Down

0 comments on commit 653a375

Please sign in to comment.