(forgejo-compat) Allow "linux" as RUNNER_OS

This commit is contained in:
ver4a 2025-04-15 10:11:23 +02:00
parent 7a95fa7ee0
commit 7113feeee7

View file

@ -14,7 +14,7 @@ import {
} from "./utils";
export async function run(): Promise<void> {
if (process.env.RUNNER_OS !== "Linux") {
if (process.env.RUNNER_OS !== "Linux" && process.env.RUNNER_OS !== "linux") {
throw new Error("buildah, and therefore this action, only works on Linux. Please use a Linux runner.");
}