From 0f4ba2d574fba73d614b1bcacd0f9630ab6fffd4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 25 Dec 2020 04:30:40 +0300 Subject: error out on unsupported OSes --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 12c52b8..02b6dc0 100644 --- a/action.yml +++ b/action.yml @@ -59,6 +59,8 @@ runs: Please use the egor-tensin/setup-mingw action to install GCC on Windows. '@ exit 1 + } else { + throw "Sorry, installing GCC is unsupported on $os" } shell: pwsh -- cgit v1.2.3