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 uses : actions/checkout@v6
2323
2424 - name : Set up Go
25- uses : actions/setup-go@v5 # Recommended action to set up Go environment
25+ uses : actions/setup-go@v6 # Recommended action to set up Go environment
2626 with :
2727 go-version-file : ' go.mod' # Automatically detects the Go version from go.mod
2828
4747 run : go build -ldflags="-X main.version=$(git describe --always --long --dirty) -X main.release=$(git describe --tags --abbrev=0)" -o "$BINARY_NAME" *.go
4848
4949 - name : Release binaries
50- uses : softprops/action-gh-release@v1
50+ uses : softprops/action-gh-release@v2
5151 # https://github.com/softprops/action-gh-release
5252 with :
5353 files : |
5656 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Automatically provided secret
5757
5858 - name : Release scripts
59- uses : softprops/action-gh-release@v1
59+ uses : softprops/action-gh-release@v2
6060 # https://github.com/softprops/action-gh-release
6161 if : ${{ env.GOARCH }} == 'amd64'
6262 with :
You can’t perform that action at this time.
0 commit comments