Skip to content

Commit

Permalink
Do not rely on env.GOROOT
Browse files Browse the repository at this point in the history
This is no longer exported as of setup-go@v3.1.0. See
actions/setup-go#175.
  • Loading branch information
tamird committed May 12, 2022
1 parent 8ee3e6d commit 255b855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Expand Up @@ -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 && \
Expand Down

0 comments on commit 255b855

Please sign in to comment.