mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
(cherry picked from commit c671295aab9192b49e4acc981e9c5b2c1d567884) Refs https://github.com/nektos/act/pull/2580/files <!--start release-notes-assistant--> <!--URL:https://code.forgejo.org/forgejo/runner--> - bug fixes - [PR](https://code.forgejo.org/forgejo/runner/pulls/819): <!--number 819 --><!--line 0 --><!--description Zml4OiBhbWQ2NCBhcmNoIHRvIFg2NCAoIzI1ODAp-->fix: amd64 arch to X64 (#2580)<!--description--> <!--end release-notes-assistant--> Co-authored-by: derrik <82898438+derrik-fleming@users.noreply.github.com> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/819 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
parent
7a02f8e402
commit
e22d12ae53
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue