remove condition 2
This commit is contained in:
3
.github/workflows/binary-build.yml
vendored
3
.github/workflows/binary-build.yml
vendored
@@ -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 }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user