Skip to content

Commit 8b114f7

Browse files
committed
fix: release failed
1 parent cac7844 commit 8b114f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
- name: Upload release
4646
shell: bash
4747
run: |
48-
set -x
4948
curl -fSsL \
5049
-o release.json \
5150
-H "Accept: application/vnd.github+json" \
@@ -64,5 +63,5 @@ jobs:
6463
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}"\
6564
-H "X-GitHub-Api-Version: 2022-11-28" \
6665
-H "Content-Type: application/octet-stream" \
67-
https://uploads.github.com/repos/${{ github.repository }}/releases/`jq '.id'`/assets?name=% \
66+
https://uploads.github.com/repos/${{ github.repository }}/releases/`jq '.id' release.json`/assets?name=% \
6867
--data-binary @%

0 commit comments

Comments
 (0)