remove condition 2

This commit is contained in:
Ben Sarmiento
2023-10-29 08:18:00 +01:00
parent f66952e716
commit 14f511d649

View File

@@ -98,13 +98,12 @@ jobs:
echo "release_id=$RELEASE_ID" >> $GITHUB_OUTPUT echo "release_id=$RELEASE_ID" >> $GITHUB_OUTPUT
- name: List files - name: List files
run: ls -1 *.zip run: ls -lash *.zip
- name: Upload Artifacts to other repo's release - name: Upload Artifacts to other repo's release
run: | run: |
for artifact in $(ls -1 *.zip); do for artifact in $(ls -1 *.zip); do
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 "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 }}" \