diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-19 07:56:17 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-19 07:56:17 -0700 |
commit | fea05ea099424bab0f3d9cede6f054a7c4970a3f (patch) | |
tree | 045a58f558f3674642db4ca241aa22c986c08a6b /.github/workflows | |
parent | aac817970ce37f5991ae94c5c58ea2e1695420e2 (diff) | |
download | homer-fea05ea099424bab0f3d9cede6f054a7c4970a3f.tar.gz homer-fea05ea099424bab0f3d9cede6f054a7c4970a3f.tar.zst homer-fea05ea099424bab0f3d9cede6f054a7c4970a3f.zip |
Release on tag event.
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 |