Skip to content

Commit 30347c7

Browse files
committed
Switch to ncipollo/release-action for releasing
1 parent 85d40bb commit 30347c7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/publish.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,15 @@ jobs:
2424
run: python setup.py sdist bdist_wheel
2525
- name: Create GitHub Release
2626
id: create_release
27-
uses: actions/create-release@v1
28-
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
uses: ncipollo/release-action@v1
3028
with:
31-
tag_name: ${{ github.ref }}
32-
release_name: Release ${{ github.ref }}
29+
tag: ${{ github.ref }}
30+
name: Release ${{ github.ref }}
3331
body: |
3432
Change Log:
3533
draft: true # Give me a moment to fill in the description
36-
prerelease: false
3734
artifacts: "dist/*"
35+
token: ${{ secrets.GITHUB_TOKEN }}
3836
- name: Publish to PyPI
3937
uses: pypa/gh-action-pypi-publish@master
4038
with:

0 commit comments

Comments
 (0)