Fix installation of Go from gimme
GHA does not have gimme pre-installed
This commit is contained in:
parent
090b884481
commit
87c50d811d
2 changed files with 11 additions and 1 deletions
|
|
@ -6,6 +6,12 @@
|
||||||
set -e # exit on failure (same as -o errexit)
|
set -e # exit on failure (same as -o errexit)
|
||||||
|
|
||||||
case "$SWIGLANG" in
|
case "$SWIGLANG" in
|
||||||
|
"go")
|
||||||
|
if [[ "$VER" ]]; then
|
||||||
|
eval "$($HOME/bin/gimme ${VER}.x)"
|
||||||
|
$HOME/bin/gimme --list
|
||||||
|
fi
|
||||||
|
;;
|
||||||
"javascript")
|
"javascript")
|
||||||
case "$ENGINE" in
|
case "$ENGINE" in
|
||||||
"node")
|
"node")
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,11 @@ case "$SWIGLANG" in
|
||||||
;;
|
;;
|
||||||
"go")
|
"go")
|
||||||
if [[ "$VER" ]]; then
|
if [[ "$VER" ]]; then
|
||||||
eval "$(gimme ${VER}.x)"
|
mkdir -p $HOME/bin
|
||||||
|
curl -sL -o $HOME/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
|
||||||
|
chmod +x $HOME/bin/gimme
|
||||||
|
eval "$($HOME/bin/gimme ${VER}.x)"
|
||||||
|
$HOME/bin/gimme --list
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"javascript")
|
"javascript")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue