From 7113feeee77fa274206eba216feab152ae97aa13 Mon Sep 17 00:00:00 2001 From: ver4a Date: Tue, 15 Apr 2025 10:11:23 +0200 Subject: [PATCH] (forgejo-compat) Allow "linux" as RUNNER_OS --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3e7fb9f..eeff859 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,7 +14,7 @@ import { } from "./utils"; export async function run(): Promise { - 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."); }