We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b335a1f commit 67b9a02Copy full SHA for 67b9a02
.github/workflows/optimize-binaries.yml
@@ -122,14 +122,11 @@ jobs:
122
for file in *.tar.gz; do
123
if [[ -f "$file" ]]; then
124
echo "⬆️ Uploading $file..."
125
- curl \
126
- -X POST \
127
- -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
128
- -H "Content-Type: application/gzip" \
129
- --data-binary "@$file" \
130
- "${{ steps.create_release.outputs.upload_url }}?name=$file"
+ gh release upload "${{ env.TAG_NAME }}" "$file" --clobber
131
fi
132
done
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
133
134
- name: Upload artifacts (for workflow runs)
135
uses: actions/upload-artifact@v4
0 commit comments