Skip to content

Commit b2590a7

Browse files
committed
Merge branch 'github-actions' into Template
2 parents 3428ef6 + b08911e commit b2590a7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/Build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ jobs:
302302

303303
publish:
304304
name: Publish
305+
if: github.ref_name != 'Template'
305306
permissions:
306307
contents: write
307308
needs: cleanup
@@ -342,8 +343,14 @@ jobs:
342343
ln -sf libraylib.so.5.5.0 libraylib.so
343344
tar -czvf ../Linux.tar.gz *
344345
346+
- name: Delete tag
347+
uses: dev-drprasad/delete-tag-and-release@v1.1
348+
with:
349+
tag_name: nightly-${{ github.ref_name }}
350+
delete_release: true
351+
github_token: ${{ secrets.GITHUB_TOKEN }}
352+
345353
- name: Create release
346-
if: github.ref_name != 'Template'
347354
uses: softprops/action-gh-release@v2
348355
with:
349356
tag_name: nightly-${{ github.ref_name }}

0 commit comments

Comments
 (0)