From ed4d0b6ab2e25328ccb248d4f22f45e6a9ad60f7 Mon Sep 17 00:00:00 2001 From: Thomas Brugman <145768128+Githubguy132010@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:13:15 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2e7af4c38..8d0b77d8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,29 +75,7 @@ jobs: asset_name: Arch.iso asset_content_type: application/octet-stream - # Delete the release after uploading the asset - - name: Delete GitHub Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_ID: ${{ steps.create_release.outputs.release_id }} - run: | - curl -X DELETE \ - -H "Authorization: token $GITHUB_TOKEN" \ - -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/${{ github.repository }}/releases/$RELEASE_ID - - # Delete the tag associated with the release - - name: Delete Git Tag - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG_NAME: v${{ github.run_id }}-release - run: | - curl -X DELETE \ - -H "Authorization: token $GITHUB_TOKEN" \ - -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/${{ github.repository }}/git/refs/tags/$TAG_NAME - - name: Clean Up run: | docker stop arch-container || echo 'Failed to stop the container.' - docker rm arch-container || echo 'Failed to remove the container.' \ No newline at end of file + docker rm arch-container || echo 'Failed to remove the container.'