mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fixed tagged releases #2
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user