1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

fix: Update ARCH environment variable used in runners/actions (#1818)

This commit is contained in:
ab-pkandhari 2023-05-23 07:26:47 -05:00 committed by GitHub
parent 32e94ab212
commit 2aea0f766a
2 changed files with 6 additions and 4 deletions

View file

@ -240,8 +240,8 @@ func RunnerArch(ctx context.Context) string {
archMapper := map[string]string{
"x86_64": "X64",
"386": "x86",
"aarch64": "arm64",
"386": "X86",
"aarch64": "ARM64",
}
if arch, ok := archMapper[info.Architecture]; ok {
return arch