mirror of
https://github.com/RetroDECK/Vita3K-bin.git
synced 2025-01-19 04:35:39 +00:00
Fixing artifact management
This commit is contained in:
parent
fc72b687da
commit
01ab6747e2
4
.github/workflows/fetch-release.yml
vendored
4
.github/workflows/fetch-release.yml
vendored
|
@ -68,7 +68,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
for file in artifacts/*; do
|
for file in artifacts/*; do
|
||||||
echo "Uploading $file..."
|
echo "Uploading $file..."
|
||||||
gh release upload ${{ env.tag_name }} "$file" --clobber
|
gh release upload ${{ env.build_number }} "$file" --clobber
|
||||||
done
|
done
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -77,7 +77,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
if ! ls artifacts | grep -q 'ubuntu-latest.zip'; then
|
if ! ls artifacts | grep -q 'ubuntu-latest.zip'; then
|
||||||
echo "ubuntu-latest.zip not found. Deleting release..."
|
echo "ubuntu-latest.zip not found. Deleting release..."
|
||||||
gh release delete ${{ env.tag_name }} --yes
|
gh release delete ${{ env.build_number }} --yes
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue