From 4ac1f682baf02095106d71a7680a365af16ef4ea Mon Sep 17 00:00:00 2001 From: jeronimoalbi Date: Tue, 10 Oct 2023 09:53:04 +0200 Subject: [PATCH] fix: change Go version in nightly release config to `1.21.2` The release action requires a version that includes the patch version to be able to download the right tarball with the Go binary. See https://github.com/wangyoucao577/go-release-action/blob/2ac3035fa4c4feed6a8272ce278b0577b93cf8e5/setup-go.sh#L24 --- .github/workflows/release-nightly.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 32b760c999..826f2a8e66 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -61,7 +61,7 @@ jobs: goarch: [amd64, arm64] steps: - uses: actions/checkout@v3 - - uses: wangyoucao577/go-release-action@v1.38 + - uses: wangyoucao577/go-release-action@v1.40 with: github_token: ${{ secrets.GITHUB_TOKEN }} project_path: "./ignite/cmd/ignite" @@ -71,5 +71,5 @@ jobs: goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} ldflags: -s -w -X github.com/ignite/cli/ignite/version.Version=nightly - goversion: "./go.mod" + goversion: "1.21.2" retry: 10