Skip to content

Commit

Permalink
ci: replace deprecated actions/create-release by ncipollo/release-action
Browse files Browse the repository at this point in the history
https://github.com/actions/create-release is deprecated so we should
stop using it. ncipollo/release-action is one of its maintained
replacements, and the one our mathieudutour/github-tag-action actions
uses in their documentation.

Linted with https://rhysd.github.io/actionlint/ but we can't really test
this without creating a new release, so we'll have to test it when it's
time to create the next release.

Fixes #200
  • Loading branch information
joanise authored and roedoejet committed Mar 14, 2023
1 parent 8b40a1b commit 43d1060
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.determine_tag.outputs.TAG_VERSION }}
- name: Create a GitHub release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: ${{ steps.tag_version.outputs.new_tag }}
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}

0 comments on commit 43d1060

Please sign in to comment.