Skip to content

Commit 996c639

Browse files
committed
use github gh cli tool in place of external action
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent b53c739 commit 996c639

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/publish-pypi-release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ jobs:
8080
name: python-package-distributions
8181
path: dist/
8282

83-
- name: Create GH release
84-
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
85-
with:
86-
draft: false
87-
generate_release_notes: true
88-
files: dist/*
83+
- name: Create GitHub release
84+
run: gh release create "$GITHUB_REF_NAME" dist/* --generate-notes
85+
env:
86+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)