|
40 | 40 | name: release linux/amd64
|
41 | 41 | runs-on: ubuntu-latest
|
42 | 42 | steps:
|
43 |
| - - uses: actions/checkout@v2 |
| 43 | + - uses: actions/checkout@v3 |
44 | 44 | - uses: wangyoucao577/go-release-action@v1.28
|
45 | 45 | with:
|
46 | 46 | github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
55 | 55 | | github_token | **Mandatory** | Your `GITHUB_TOKEN` for uploading releases to Github assets. |
|
56 | 56 | | goos | **Mandatory** | `GOOS` is the running program's operating system target: one of `darwin`, `freebsd`, `linux`, and so on. |
|
57 | 57 | | goarch | **Mandatory** | `GOARCH` is the running program's architecture target: one of `386`, `amd64`, `arm`, `arm64`, `s390x`, and so on. |
|
58 |
| -| goamd64 | **Optional** | `GOAMD64` is the running programs amd64 microarchitecture level, should only be used when `GOARCH` is `amd64`: one of `v1`, `v2`, `v3`, `v4`. | |
59 |
| -| goversion | **Optional** | The `Go` compiler version. `latest`([check it here](https://go.dev/VERSION?m=text)) by default, optional `1.13`, `1.14`, `1.15`, `1.16` or `1.17`. <br>It also takes download URL instead of version string if you'd like to use more specified version. But make sure your URL is `linux-amd64` package, better to find the URL from [Go - Downloads](https://go.dev/dl/).<br>E.g., `https://dl.google.com/go/go1.13.1.linux-amd64.tar.gz`. | |
| 58 | +| goamd64 | **Optional** | `GOAMD64` is the running programs amd64 microarchitecture level, which is available since `go1.18`. It should only be used when `GOARCH` is `amd64`: one of `v1`, `v2`, `v3`, `v4`. | |
| 59 | +| goversion | **Optional** | The `Go` compiler version. `latest`([check it here](https://go.dev/VERSION?m=text)) by default, optional `1.13`, `1.14`, `1.15`, `1.16`, `1.17`, 1.18. <br>It also takes download URL instead of version string if you'd like to use more specified version. But make sure your URL is `linux-amd64` package, better to find the URL from [Go - Downloads](https://go.dev/dl/).<br>E.g., `https://dl.google.com/go/go1.13.1.linux-amd64.tar.gz`. | |
60 | 60 | | project_path | **Optional** | Where to run `go build`. <br>Use `.` by default. |
|
61 | 61 | | binary_name | **Optional** | Specify another binary name if do not want to use repository basename. <br>Use your repository's basename if not set. |
|
62 | 62 | | pre_command | **Optional** | Extra command that will be executed before `go build`. You may want to use it to solve dependency if you're NOT using [Go Modules](https://github.com/golang/go/wiki/Modules). |
|
@@ -104,7 +104,7 @@ jobs:
|
104 | 104 | - goarch: arm64
|
105 | 105 | goos: windows
|
106 | 106 | steps:
|
107 |
| - - uses: actions/checkout@v2 |
| 107 | + - uses: actions/checkout@v3 |
108 | 108 | - uses: wangyoucao577/go-release-action@v1.28
|
109 | 109 | with:
|
110 | 110 | github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
0 commit comments