Fixed tagged releases #2

This commit is contained in:
CptMoore
2025-04-09 20:33:32 +02:00
parent 5ed70befb4
commit 9df885a264
+2 -2
View File
@@ -186,7 +186,6 @@ jobs:
merge-multiple: true
- name: Checkout Repo
if: github.ref == 'refs/heads/master'
uses: actions/checkout@v4
with:
path: source
@@ -211,7 +210,8 @@ jobs:
- name: Upload to tagged release
if: startsWith(github.ref, 'refs/tags/v')
working-directory: source
run: |
gh release upload "$GITHUB_REF_NAME" dist/* --clobber
gh release upload "$GITHUB_REF_NAME" ../dist/* --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}