File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change 1+ ---
12name : Release
23
34on :
45 push :
56 tags :
6- - ' v*'
7+ - ' v*'
78
89jobs :
910 build :
1011 name : Build
1112 runs-on : ubuntu-latest
1213 steps :
14+ - name : Set up Go 1.x
15+ uses : actions/setup-go@v2
16+ with :
17+ go-version : ^1.25
18+ id : go
1319
14- - name : Set up Go 1.x
15- uses : actions/setup-go@v2
16- with :
17- go-version : ^1.16
18- id : go
20+ - name : Check out code into the Go module directory
21+ uses : actions/checkout@v2
22+ with :
23+ fetch-depth : 0
1924
20- - name : Check out code into the Go module directory
21- uses : actions/checkout@v2
22- with :
23- fetch-depth : 0
25+ - name : Get dependencies
26+ run : |
27+ go get -v -t ./...
2428
25- - name : Get dependencies
26- run : |
27- go get -v -t ./...
29+ - name : Build
30+ run : |
31+ ./build.sh build
2832
29- - name : Build
30- run : |
31- ./build.sh build
32-
33- - run : |
34- set -x
35- tag_name="${GITHUB_REF##*/}"
36- gh release create "$tag_name" build/*
37- env:
38- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+ - run : |
34+ set -x
35+ tag_name="${GITHUB_REF##*/}"
36+ gh release create "$tag_name" build/*
37+ env:
38+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments