Skip to content

Commit 0809d25

Browse files
committed
ci: use official gh cli for release workflow
This is to avoid using unmaintained actions and instead use official tooling Signed-off-by: Pau Ruiz Safont <[email protected]>
1 parent 905d5d0 commit 0809d25

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/draft-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
make python
3232
3333
- name: Draft Release ${{ github.ref_name }}
34-
id: create_release
35-
uses: softprops/action-gh-release@v1
36-
with:
37-
files: |
38-
scripts/examples/python/dist/*
39-
fail_on_unmatched_files: true
40-
draft: true
41-
generate_release_notes: true
34+
run: gh release create ${{ github.ref_name }} --draft --generate-notes
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
38+
- name: Upload artifacts
39+
run: gh release upload ${{ github.ref_name }} scripts/examples/python/dist/*
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)