Skip to content

Commit bd36c19

Browse files
committedJan 22, 2025·
🔧 Use softprops/action-gh-release@v2 for the release upload
1 parent 1a70998 commit bd36c19

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed
 

‎.github/workflows/release.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ jobs:
3333
- name: Create release tarball
3434
id: create_tarball
3535
run: |
36-
tar -czvf lib/${{ github.ref_name }}.tgz ${{ steps.assets.outputs.lib_files }}
36+
tar -czvf ${{ github.ref_name }}.tgz ${{ steps.assets.outputs.lib_files }}
3737
38-
- name: Upload release asset
39-
uses: actions/upload-release-asset@v1
38+
- name: Release
39+
uses: softprops/action-gh-release@v2
4040
with:
41-
upload_url: ${{ github.event.release.upload_url }}
42-
asset_path: lib/${{ github.ref_name }}.tgz
43-
asset_name: ${{ github.ref_name }}.tgz
44-
asset_content_type: application/gzip
41+
files: |
42+
${{ github.ref_name }}.tgz

0 commit comments

Comments
 (0)
Please sign in to comment.