1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

fix: amd64 arch to X64 (#2580)

(cherry picked from commit c671295aab9192b49e4acc981e9c5b2c1d567884)
This commit is contained in:
derrik 2024-12-24 11:56:52 -05:00 committed by Earl Warren
parent 96891ab314
commit 41eb7b13b4
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -462,6 +462,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",