mirror of
https://github.com/RetroDECK/Vita3K-bin.git
synced 2025-01-19 04:35:39 +00:00
Deleting the build if inconsistent
This commit is contained in:
parent
89de73f5d1
commit
a8f4609063
10
.github/workflows/fetch-release.yml
vendored
10
.github/workflows/fetch-release.yml
vendored
|
@ -67,5 +67,15 @@ jobs:
|
|||
echo "Uploading $file..."
|
||||
gh release upload ${{ env.tag_name }} "$file" --clobber
|
||||
done
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Check for ubuntu-latest.zip and delete release if not found
|
||||
run: |
|
||||
if ! ls artifacts | grep -q 'ubuntu-latest.zip'; then
|
||||
echo "ubuntu-latest.zip not found. Deleting release..."
|
||||
gh release delete ${{ env.tag_name }} --yes
|
||||
exit 1
|
||||
fi
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue