Skip to content

Commit 8b5280a

Browse files
committed
fix: switch to ncipollo/release-action
1 parent 036e8e9 commit 8b5280a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ jobs:
2424
path: ./artifacts
2525
run-id: ${{ steps.get_run_id.outputs.run_id }}
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
27-
- name: Create Release
27+
- name: Create release and upload assets
2828
id: create_release
29-
uses: softprops/action-gh-release@v2
30-
- name: Upload artifacts
31-
uses: svenstaro/upload-release-action@v2
29+
uses: ncipollo/release-action@v1
3230
with:
33-
repo_token: ${{ secrets.GITHUB_TOKEN }}
34-
file: artifacts/*
35-
tag: ${{ github.ref }}
31+
token: ${{ secrets.GITHUB_TOKEN }}
32+
artifacts: "artifacts/*.zip"
33+
tag: ${{ github.ref_name }}

0 commit comments

Comments
 (0)