aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/action.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:20:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:22:59 +0300
commit0f36cf818a31eaa7bd483a090ee04aac8e651b5d (patch)
treef7aa5a8a86c23cbd2af9654bdbd30867ea81989b /action.yml
parentrefactoring (diff)
downloadsetup-gcc-0f36cf818a31eaa7bd483a090ee04aac8e651b5d.tar.gz
setup-gcc-0f36cf818a31eaa7bd483a090ee04aac8e651b5d.zip
code style
Diffstat (limited to 'action.yml')
-rw-r--r--action.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/action.yml b/action.yml
index 75bf7ef..5a760d7 100644
--- a/action.yml
+++ b/action.yml
@@ -89,6 +89,7 @@ runs:
if ($linux_host) {
$pkg = if ($x64) { 'g++' } else { 'g++-multilib' }
Install-Package $pkg
+
Link-Exe -Exe gcc -LinkName cc
Link-Exe -Exe g++ -LinkName c++
} elseif ($cygwin_host) {
@@ -100,7 +101,9 @@ runs:
If you _are_ using 32-bit Cygwin, you can ignore this message.
'@
}
+
Install-Package gcc-g++
+
Link-Exe -Exe gcc -LinkName cc
Link-Exe -Exe g++ -LinkName c++
} elseif ($windows_host) {