diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-12-25 04:30:40 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-12-25 04:30:40 +0300 |
commit | 0f4ba2d574fba73d614b1bcacd0f9630ab6fffd4 (patch) | |
tree | c1745a4720646012c61d82746bff992f272a7fee | |
parent | add README (diff) | |
download | setup-gcc-0f4ba2d574fba73d614b1bcacd0f9630ab6fffd4.tar.gz setup-gcc-0f4ba2d574fba73d614b1bcacd0f9630ab6fffd4.zip |
error out on unsupported OSes
-rw-r--r-- | action.yml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |