Skip to content

Commit 2a73bfc

Browse files
authored
Switch release action to ncipollo (#1489)
1 parent a5ef3e6 commit 2a73bfc

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/python.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -290,17 +290,20 @@ jobs:
290290
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
291291

292292
# Create the actual prerelease
293-
# https://github.com/softprops/action-gh-release
293+
# https://github.com/ncipollo/release-action
294294
- name: GitHub Release
295-
uses: softprops/action-gh-release@v0.1.15
295+
uses: ncipollo/release[email protected]
296296
with:
297-
name: "Development Build"
298297
body: ${{ env.PRE_RELEASE_INSTRUCTIONS }}
299298
prerelease: true
300-
tag_name: prerelease
301-
files: dist/*
299+
artifacts: dist/*
300+
name: "Development Build"
301+
tag: "prerelease"
302302
token: ${{ secrets.GITHUB_TOKEN }}
303-
generate_release_notes: true
303+
generateReleaseNotes: true
304+
allowUpdates: true
305+
removeArtifacts: true
306+
replacesArtifacts: true
304307

305308
# ---------------------------------------------------------------------------
306309

@@ -317,13 +320,14 @@ jobs:
317320
name: wheels
318321
path: dist
319322

323+
# https://github.com/ncipollo/release-action
320324
- name: GitHub Release
321-
uses: softprops/action-gh-release@v0.1.15
325+
uses: ncipollo/release[email protected]
322326
with:
323327
prerelease: false
324-
files: dist/*
328+
artifacts: dist/*
325329
token: ${{ secrets.GITHUB_TOKEN }}
326-
generate_release_notes: true
330+
generateReleaseNotes: true
327331

328332
- name: Publish to PyPI
329333
uses: PyO3/maturin-action@v1

0 commit comments

Comments
 (0)