Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cvega authored Oct 15, 2024
1 parent 5634caf commit b45939e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
curl -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @"large_file.bin" \
"${{ steps.create_release.outputs.upload_url }}?name=$asset_name"
-H "Content-Length: $(stat -c%s large_file.bin)" \
--data-binary @- \
"${{ steps.create_release.outputs.upload_url }}?name=$asset_name" \
< large_file.bin
done

0 comments on commit b45939e

Please sign in to comment.