From b3f0bbce7e95602cf4e6f3a027ec79fabb678577 Mon Sep 17 00:00:00 2001 From: Daniel Mikusa Date: Wed, 29 Jul 2026 00:20:37 -0400 Subject: [PATCH] Map ppc64le and s390x architectures for BellSoft API The BellSoft API (api.bell-sw.com) uses different architecture names than the GitHub Actions runner: - ppc64le -> ppc - s390x -> sparc arm64 -> arm mapping already existed but ppc64le and s390x were missing, causing the bellsoft-liberica-dependency action to fail with a 400 Bad Request when querying for PPC64LE or s390x releases. --- actions/bellsoft-liberica-dependency/main.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/actions/bellsoft-liberica-dependency/main.go b/actions/bellsoft-liberica-dependency/main.go index 7d71f06e..d274bec4 100644 --- a/actions/bellsoft-liberica-dependency/main.go +++ b/actions/bellsoft-liberica-dependency/main.go @@ -50,14 +50,22 @@ func main() { } // curl https://api.bell-sw.com/v1/liberica/architectures - // `["arm", "ppc", "sparc", "x86"]` + // `["arm", "ppc", "riscv", "sparc", "x86"]` arch, ok := inputs["arch"] if !ok { arch = "x86" } if arch == "arm64" { - arch = "arm" // cause Bellsoft needs it without the bitness + arch = "arm" + } + + if arch == "ppc64le" { + arch = "ppc" + } + + if arch == "s390x" { + arch = "sparc" } commonStaticParams := "&version-modifier=latest"