File tree 2 files changed +11
-7
lines changed
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
- name : backen
1
+ name : backend
2
2
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- test :
6
+ build :
7
7
runs-on : ${{ matrix.os }}
8
8
timeout-minutes : 10
9
9
strategy :
@@ -51,14 +51,18 @@ jobs:
51
51
# go get github.com/mattn/goveralls
52
52
# /home/runner/go/bin/goveralls -coverprofile=coverage.out -service=github-action -repotoken ${{ secrets.COVERALLS_TOKEN }}
53
53
54
- - name : Release
55
- uses : softprops/action-gh-release@v1
56
- if : job.status == 'success' && startsWith(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/') && github.repository == 'axetroy/wsm'
54
+ release :
55
+ name : Release to Github
56
+ if : startsWith(github.ref, 'refs/tags/') && github.repository == 'axetroy/wsm'
57
+ needs : build
58
+ runs-on : ubuntu-latest
59
+ steps :
60
+ - uses : softprops/action-gh-release@v1
57
61
env :
58
62
GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
59
63
with :
60
64
files : |
61
65
bin/wsm_darwin_amd64.tar.gz
62
66
bin/wsm_linux_amd64.tar.gz
63
67
bin/wsm_windows_amd64.tar.gz
64
- draft : true
68
+ draft : false
Original file line number Diff line number Diff line change 5
5
![ License] ( https://img.shields.io/github/license/axetroy/wsm.svg )
6
6
![ Repo Size] ( https://img.shields.io/github/repo-size/axetroy/wsm.svg )
7
7
8
- [ ![ Build Status] ( https://github.com/axetroy/wsm/workflows/backen /badge.svg )] ( https://github.com/axetroy/wsm/actions )
8
+ [ ![ Build Status] ( https://github.com/axetroy/wsm/workflows/backend /badge.svg )] ( https://github.com/axetroy/wsm/actions )
9
9
[ ![ Docker Build Status] ( https://img.shields.io/docker/cloud/build/axetroy/wsm-backend )] ( https://hub.docker.com/r/axetroy/wsm-backend/builds )
10
10
[ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/axetroy/wsm-backend )] ( https://hub.docker.com/r/axetroy/wsm-backend/builds )
11
11
[ ![ Coverage Status] ( https://coveralls.io/repos/github/axetroy/wsm/badge.svg?branch=master )] ( https://coveralls.io/github/axetroy/wsm?branch=master )
You can’t perform that action at this time.
0 commit comments