Skip to content

Commit 653a375

Browse files
committed
chore: update release action
Signed-off-by: Frost Ming <[email protected]>
1 parent 27ad8ff commit 653a375

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
id: tag
2020
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
2121

22-
- name: Set up Python 3.9
22+
- name: Set up Python 3.11
2323
uses: actions/setup-python@v4
2424
with:
25-
python-version: "3.9"
25+
python-version: "3.11"
2626

2727
- name: Install and set up Poetry
2828
run: |
@@ -44,8 +44,9 @@ jobs:
4444
uses: ncipollo/release-action@v1
4545
with:
4646
artifacts: "dist/*"
47-
token: ${{ secrets.GITHUB_TOKEN }}
4847
draft: false
48+
allowUpdates: true
49+
generateReleaseNotes: true
4950
prerelease: steps.check-version.outputs.prerelease == 'true'
5051

5152
- name: Publish to PyPI

0 commit comments

Comments
 (0)