From 01ab6747e2a273de8f80c72451a999ff4dcf54d4 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sat, 11 Jan 2025 12:19:58 +0900 Subject: [PATCH] Fixing artifact management --- .github/workflows/fetch-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fetch-release.yml b/.github/workflows/fetch-release.yml index 4e7bc38..6fbb2dd 100644 --- a/.github/workflows/fetch-release.yml +++ b/.github/workflows/fetch-release.yml @@ -68,7 +68,7 @@ jobs: run: | for file in artifacts/*; do echo "Uploading $file..." - gh release upload ${{ env.tag_name }} "$file" --clobber + gh release upload ${{ env.build_number }} "$file" --clobber done env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -77,7 +77,7 @@ jobs: 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 + gh release delete ${{ env.build_number }} --yes exit 1 fi env: