-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] CGO_ENABLED on macos amd64 is not correct #477
Comments
Hello @timandy, zthank you for creating this issue and we will look into it :) |
I suspect this might be something to do with those versions of Go being built differently/in such a way that they don't support cross compilation. Possibly related to #181 EDIT: digging a bit more I see
files take from:
Indeed I see the same output in the upstream download from https://go.dev/dl/#go1.20.14 🤔 I wonder if those are meant to be there (via |
Description:
A clear and concise description of what the bug is.
Action version:
actions/setup-go@v5
Platform:
Runner type:
Tools version:
go 1.18
go 1.19
Repro steps:
Expected behavior:
go env CGO_ENABLED //should be 1
Actual behavior:
printed 0, On windows and linux print 1
mac
https://github.com/timandy/routine/actions/runs/8965563348/job/24619393933#step:4:11
linux
https://github.com/timandy/routine/actions/runs/8965563348/job/24619398442#step:6:11
The text was updated successfully, but these errors were encountered: