File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - name : Set up Go
2323 uses : actions/setup-go@v5
2424 with :
25- go-version : " 1.25"
25+ go-version : " 1.26"
26+ cache : true
2627
2728 - name : Build binaries
2829 run : |
@@ -31,14 +32,19 @@ jobs:
3132 for platform in "${platforms[@]}"; do
3233 GOOS=${platform%/*}
3334 GOARCH=${platform#*/}
34- output_name="dist/ launchpad_${GOOS}_${GOARCH}"
35+ output_name="launchpad_${GOOS}_${GOARCH}"
3536 if [ "$GOOS" = "windows" ]; then
3637 output_name+=".exe"
3738 fi
3839 echo "Building $output_name"
39- GOOS=$GOOS GOARCH=$GOARCH go build -o "$output_name" ./main.go
40+ GOOS=$GOOS GOARCH=$GOARCH go build -o "dist/ $output_name" ./main.go
4041 done
4142
43+ - name : Generate Checksums
44+ run : |
45+ cd dist
46+ sha256sum * > checksums.txt
47+
4248 - name : Upload artifacts
4349 uses : actions/upload-artifact@v4
4450 with :
6167 - name : Create GitHub Release
6268 uses : softprops/action-gh-release@v1
6369 with :
64- files : dist/*
70+ files : |
71+ dist/*
6572 generate_release_notes : true
6673 draft : true
6774 env :
You can’t perform that action at this time.
0 commit comments