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:
parent
32e94ab212
commit
2aea0f766a
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue