fix: amd64 arch to X64 (#2580)

This commit is contained in:
derrik 2024-12-24 11:56:52 -05:00 committed by GitHub
parent 9c7f103bb3
commit e6b5062e5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -423,6 +423,7 @@ func (*HostEnvironment) JoinPathVariable(paths ...string) string {
// https://docs.github.com/en/actions/learn-github-actions/contexts#runner-context
func goArchToActionArch(arch string) string {
archMapper := map[string]string{
"amd64": "X64",
"x86_64": "X64",
"386": "X86",
"aarch64": "ARM64",