File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 33 push :
44 tags :
55 - ' v*'
6-
76jobs :
87 release :
98 runs-on : ubuntu-latest
2221 id : create_release
2322 uses : softprops/action-gh-release@v2
2423 with :
25- tag_name : ${{ github.ref }}
26- name : Release ${{ github.ref_name }}
27- draft : false
28- prerelease : false
29- files : |
30- dist/*.tar.gz
24+ files : dist/*.tar.gz
Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ name: Go Test
22on :
33 push :
44 branches : [ "main" ]
5+ paths :
6+ - ' **.go'
7+ - ' go.mod'
58 pull_request :
69 branches : [ "main" ]
10+ paths :
11+ - ' **.go'
12+ - ' go.mod'
713
814jobs :
915 test :
Original file line number Diff line number Diff line change 4141.PHONY : releases
4242releases :
4343 @make release GOOS=linux GOARCH=amd64 && \
44- make release GOOS=linux GOARCH=386 && \
4544 make release GOOS=linux GOARCH=arm64 && \
4645 make release GOOS=linux GOARCH=loong64 && \
47- make release GOOS=darwin GOARCH=amd64 && \
48- make release GOOS=darwin GOARCH=arm64 && \
4946 make release GOOS=windows GOARCH=amd64
50-
51-
You can’t perform that action at this time.
0 commit comments