Skip to content

Commit b8fce11

Browse files
chore: change command to delete tag (#4)
Signed-off-by: Joris Mancini <[email protected]>
1 parent 7a955f9 commit b8fce11

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ jobs:
1717
java-version: 17
1818

1919
- name: Checkout sources
20-
uses: actions/checkout@v1
21-
22-
- name: Remove original tag
23-
run: >
24-
gh release delete ${{ github.ref_name }} --yes --cleanup-tag
25-
env:
26-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
run: |
24+
git tag -d ${{ github.ref_name }}
25+
git push origin :refs/tags/${{ github.ref_name }}
2726
2827
- name: Extract tag versions
2928
run: |

0 commit comments

Comments
 (0)