Public Access
fix: replace wget with curl in deploy, fix release asset upload to use multipart/form-data
Release Pipeline / build-and-release (push) Successful in 4m21s
Release Pipeline / build-and-release (push) Successful in 4m21s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
865c21d023
commit
18b76f2350
2 files changed
+5
-5
No files matched your search
@@ -98,9 +98,9 @@ jobs:
|
||||
|
||||
# Upload each asset
|
||||
for FILE in brainwave-amd64.tar.gz brainwave-arm64.tar.gz docker-compose.amd64.yml docker-compose.arm64.yml; do
|
||||
curl -s -X POST \
|
||||
curl -f -X POST \
|
||||
"${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${RELEASE_ID}/assets?name=${FILE}" \
|
||||
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
--data-binary @"${FILE}"
|
||||
-F "attachment=@${FILE}" \
|
||||
|| echo "Warning: failed to upload ${FILE}"
|
||||
done
|
||||
Reference in new issue
Block a user