From 255b8555db8b5022206a154a5f222de38f86da66 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 12 May 2022 09:29:00 -0400 Subject: [PATCH] Do not rely on env.GOROOT This is no longer exported as of setup-go@v3.1.0. See https://github.com/actions/setup-go/pull/175. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3263631..63dddea 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -165,7 +165,7 @@ jobs: run: | # Non-host *.syso files are missing from the Go toolchains provided # by setup-go. See https://github.com/actions/setup-go/issues/181. - curl --location --output ${{ env.GOROOT }}/src/runtime/race/race_linux_arm64.syso \ + curl --location --output $(go env GOROOT)/src/runtime/race/race_linux_arm64.syso \ https://github.com/golang/go/raw/release-branch.go${{ matrix.go }}/src/runtime/race/race_linux_arm64.syso && \ sudo apt update && \ sudo apt install gcc-aarch64-linux-gnu && \