remove condition
This commit is contained in:
21
.github/workflows/binary-build.yml
vendored
21
.github/workflows/binary-build.yml
vendored
@@ -102,17 +102,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Artifacts to other repo's release
|
- name: Upload Artifacts to other repo's release
|
||||||
run: |
|
run: |
|
||||||
ls -1 *.zip
|
|
||||||
for artifact in $(ls -1 *.zip); do
|
for artifact in $(ls -1 *.zip); do
|
||||||
if [[ -f "$artifact" ]]; then
|
echo "Uploading $artifact..."
|
||||||
echo "Uploading $artifact..."
|
echo "https://uploads.github.com/repos/debridmediamanager/zurg-testing/releases/${{ steps.create_release.outputs.release_id }}/assets?name=$(basename $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)"
|
||||||
echo "Content-Type: $(file -b --mime-type $artifact)"
|
curl -s -X POST \
|
||||||
curl -s -X POST \
|
-H "Authorization: token ${{ secrets.PAT }}" \
|
||||||
-H "Authorization: token ${{ secrets.PAT }}" \
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
-H "Content-Type: $(file -b --mime-type $artifact)" \
|
||||||
-H "Content-Type: $(file -b --mime-type $artifact)" \
|
--data-binary "@$artifact" \
|
||||||
--data-binary "@$artifact" \
|
"https://uploads.github.com/repos/debridmediamanager/zurg-testing/releases/${{ steps.create_release.outputs.release_id }}/assets?name=$(basename $artifact)"
|
||||||
"https://uploads.github.com/repos/debridmediamanager/zurg-testing/releases/${{ steps.create_release.outputs.release_id }}/assets?name=$(basename $artifact)"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user