Skip to content

Commit

Permalink
Dont use --data-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Rippanda12 committed Sep 1, 2024
1 parent 8778bd0 commit 93fd317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ jobs:
for img in /images/*.img.xz; do
FILENAME=$(basename "$img")
echo "Uploading $FILENAME to release $RELEASE_ID"
curl -s -X POST \
curl -s \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/octet-stream" \
--data-binary @"$img" \
-T "$img" \
"https://uploads.github.com/repos/$REPO/releases/$RELEASE_ID/assets?name=$FILENAME"
done
Expand Down

0 comments on commit 93fd317

Please sign in to comment.