Skip to content
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

GOARCH incorrect on Mac M2 #1488

Closed
p0ll3n opened this issue Jan 27, 2024 · 1 comment
Closed

GOARCH incorrect on Mac M2 #1488

p0ll3n opened this issue Jan 27, 2024 · 1 comment

Comments

@p0ll3n
Copy link

p0ll3n commented Jan 27, 2024

The ARCH variable contains amd64 when I expect to have arm64, like reported by the 'uname -m' command.
This prevent me to run task on specific platform like [ darwin/arm64 ]

example task file:

# https://taskfile.dev

version: '3'
  foo:
    cmds:
      - cmd: echo "Running command on {{OS}} ({{ARCH}})"

will output:

task: [foo] echo "Running command on darwin (amd64)"
Running command on darwin (amd64)

  • Task version: v3.32.0 (h1:K3NsqVLjkWGO5rbCw8AF2ImDc7/M/SVoFF1fFTvCDEA=)
  • Operating system: MacOs 14.2.1 (23C71)
  • Experiments enabled: false
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Jan 27, 2024
@p0ll3n p0ll3n closed this as completed Jan 27, 2024
@task-bot task-bot removed the state: needs triage Waiting to be triaged by a maintainer. label Jan 27, 2024
@p0ll3n
Copy link
Author

p0ll3n commented Jan 27, 2024

Sorry, it was my mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants