diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/main.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa346b3..5139e31 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml | |||
@@ -3,7 +3,8 @@ name: Upload Release Asset | |||
3 | 3 | ||
4 | on: | 4 | on: |
5 | push: | 5 | push: |
6 | branches: [master] | 6 | tags: |
7 | - * | ||
7 | 8 | ||
8 | jobs: | 9 | jobs: |
9 | build: | 10 | build: |
@@ -24,8 +25,8 @@ jobs: | |||
24 | env: | 25 | env: |
25 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 26 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
26 | with: | 27 | with: |
27 | tag_name: ${{ github.run_id }} | 28 | tag_name: ${{ github.ref }} |
28 | release_name: Release ${{ github.run_id }} | 29 | release_name: Release ${{ github.ref }} |
29 | draft: false | 30 | draft: false |
30 | prerelease: false | 31 | prerelease: false |
31 | - name: Upload Release Asset | 32 | - name: Upload Release Asset |