1818 with :
1919 fetch-depth : 0
2020 - run : git fetch --force --tags
21- - uses : actions/setup-go@v3
21+ - uses : actions/setup-go@v5
2222 with :
23- go-version : 1.21
23+ go-version : ' 1.25 '
2424 cache : true
2525
2626 - uses : goreleaser/goreleaser-action@v4
@@ -39,65 +39,30 @@ jobs:
3939 dist/birdwatcher*
4040 dist/checksums.txt
4141
42- build-darwin-binary :
43- runs-on : macos-latest
44- steps :
45- - uses : actions/checkout@v3
46- with :
47- fetch-depth : 0
48- - run : git fetch --force --tags
49- - uses : actions/setup-go@v3
50- with :
51- go-version : 1.21
52- cache : true
53-
54- - uses : goreleaser/goreleaser-action@v4
55- with :
56- # either 'goreleaser' (default) or 'goreleaser-pro':
57- distribution : goreleaser
58- version : latest
59- args : release --skip=publish --config .goreleaser-darwin.yaml
60- env :
61- GITHUB_TOKEN : ${{ secrets.RELEASE_TOKEN }}
62- - name : Upload
63- uses : actions/upload-artifact@v4
64- with :
65- name : birdwatcher-darwin
66- path : |
67- dist/birdwatcher*
68- dist/checksums.txt
6942 merge-and-release :
70- needs : [build-linux-binary, build-darwin-binary ]
43+ needs : [build-linux-binary]
7144 runs-on : ubuntu-latest
7245 steps :
7346 - uses : actions/checkout@v3
7447 with :
7548 fetch-depth : 0
7649 - run : git fetch --force --tags
77- - uses : actions/setup-go@v3
50+ - uses : actions/setup-go@v5
7851 with :
79- go-version : 1.18
52+ go-version : ' 1.22 '
8053 cache : true
8154 - name : Make directories
8255 run : |
8356 mkdir -p ./birdwatcher-build/linux
84- mkdir -p ./birdwatcher-build/darwin
8557 - name : Download linux binaries
8658 uses : actions/download-artifact@v4.1.3
8759 with :
8860 name : birdwatcher-linux
89- path : ./birdwatcher-build/linux
90- - name : Download darwin binaries
91- uses : actions/download-artifact@v4.1.3
92- with :
93- name : birdwatcher-darwin
94- path : ./birdwatcher-build/darwin
61+ path : ./birdwatcher-build/linux
9562 - name : Merge checksum file
9663 run : |
9764 cd ./birdwatcher-build
98- cat ./darwin/checksums.txt >> checksums.txt
9965 cat ./linux/checksums.txt >> checksums.txt
100- rm ./darwin/checksums.txt
10166 rm ./linux/checksums.txt
10267 - name : Check git status
10368 run : |
0 commit comments