(forgejo-compat) Allow "linux" as RUNNER_OS
This commit is contained in:
parent
7a95fa7ee0
commit
7113feeee7
1 changed files with 1 additions and 1 deletions
|
@ -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.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue