mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Fixed tagged releases #2
This commit is contained in:
@@ -186,7 +186,6 @@ jobs:
|
|||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
|
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
if: github.ref == 'refs/heads/master'
|
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: source
|
path: source
|
||||||
@@ -211,7 +210,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload to tagged release
|
- name: Upload to tagged release
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
working-directory: source
|
||||||
run: |
|
run: |
|
||||||
gh release upload "$GITHUB_REF_NAME" dist/* --clobber
|
gh release upload "$GITHUB_REF_NAME" ../dist/* --clobber
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user