aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-12-25 04:30:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-12-25 04:30:40 +0300
commit0f4ba2d574fba73d614b1bcacd0f9630ab6fffd4 (patch)
treec1745a4720646012c61d82746bff992f272a7fee
parentadd README (diff)
downloadsetup-gcc-0f4ba2d574fba73d614b1bcacd0f9630ab6fffd4.tar.gz
setup-gcc-0f4ba2d574fba73d614b1bcacd0f9630ab6fffd4.zip
error out on unsupported OSes
Diffstat (limited to '')
-rw-r--r--action.yml2
1 files changed, 2 insertions, 0 deletions
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