Skip to content

Commit

Permalink
Debug release assets even further
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed Apr 29, 2024
1 parent b45b409 commit 4fcaf95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ jobs:
if [ -s "$file" ]; then # Check if file is not empty
FILE_NAME=$(basename "$file")
echo "Uploading $FILE_NAME"
echo 'curl -v -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: multipart/form-data" \
-F "file=@$file;type=$(file -b --mime-type $file)" \
-F "name=$FILE_NAME" \
"${UPLOAD_URL}?name=$FILE_NAME"'
curl -v -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: multipart/form-data" \
Expand Down

0 comments on commit 4fcaf95

Please sign in to comment.