This commit is contained in:
Ben Sarmiento
2023-10-29 06:57:06 +01:00
parent e33e725fb4
commit c0cc8ed664

View File

@@ -104,6 +104,9 @@ jobs:
run: |
for artifact in $(ls -1 *.zip); do
if [[ -f "$artifact" ]]; then
echo "Uploading $artifact..."
echo "https://uploads.github.com/repos/debridmediamanager/zurg-testing/releases/${{ steps.create_release.outputs.release_id }}/assets?name=$(basename $artifact)"
echo "Content-Type: $(file -b --mime-type $artifact)"
curl -s -X POST \
-H "Authorization: token ${{ secrets.PAT }}" \
-H "Accept: application/vnd.github.v3+json" \