Skip to content

Commit 3baf010

Browse files
Merge pull request #14 from Githubguy132010/Githubguy132010-patch-1
Update build.yml
2 parents 37ba0df + 3af4e50 commit 3baf010

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -75,29 +75,7 @@ jobs:
7575
asset_name: Arch.iso
7676
asset_content_type: application/octet-stream
7777

78-
# Delete the release after uploading the asset
79-
- name: Delete GitHub Release
80-
env:
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82-
RELEASE_ID: ${{ steps.create_release.outputs.release_id }}
83-
run: |
84-
curl -X DELETE \
85-
-H "Authorization: token $GITHUB_TOKEN" \
86-
-H "Accept: application/vnd.github.v3+json" \
87-
https://api.github.com/repos/${{ github.repository }}/releases/$RELEASE_ID
88-
89-
# Delete the tag associated with the release
90-
- name: Delete Git Tag
91-
env:
92-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93-
TAG_NAME: v${{ github.run_id }}-release
94-
run: |
95-
curl -X DELETE \
96-
-H "Authorization: token $GITHUB_TOKEN" \
97-
-H "Accept: application/vnd.github.v3+json" \
98-
https://api.github.com/repos/${{ github.repository }}/git/refs/tags/$TAG_NAME
99-
10078
- name: Clean Up
10179
run: |
10280
docker stop arch-container || echo 'Failed to stop the container.'
103-
docker rm arch-container || echo 'Failed to remove the container.'
81+
docker rm arch-container || echo 'Failed to remove the container.'

0 commit comments

Comments
 (0)