Skip to content

Commit 7f31f3e

Browse files
committed
ci: replace softprops/action-gh-release with gh release create command
Seems better to avoid 3rd party actions when possible.
1 parent 40a1713 commit 7f31f3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ jobs:
109109
tox -e generate-gh-release-notes -- "$VERSION" scripts/latest-release-notes.md
110110
111111
- name: Publish GitHub Release
112-
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631
113-
with:
114-
body_path: scripts/latest-release-notes.md
115-
files: dist/*
116-
tag_name: ${{ github.event.inputs.version }}
112+
env:
113+
VERSION: ${{ github.event.inputs.version }}
114+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115+
run: |
116+
gh release create --notes-file scripts/latest-release-notes.md --verify-tag "$VERSION" dist/*

0 commit comments

Comments
 (0)