summaryrefslogtreecommitdiff
path: root/.ci-make.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci-make.sh')
-rwxr-xr-x.ci-make.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.ci-make.sh b/.ci-make.sh
index 597be52..7c112bf 100755
--- a/.ci-make.sh
+++ b/.ci-make.sh
@@ -155,6 +155,13 @@ case "$1" in
ln -sf /usr/lib/go-$DEP_GOLANG_VER/bin/go /usr/local/bin/go
adduser --quiet --comment forgejo --disabled-password forgejo
chown -R forgejo:forgejo .
+ if [ "$DEP_GOLANG_NODEB_REV" ];then
+ go install golang.org/dl/go$DEP_GOLANG_VER.$DEP_GOLANG_NODEB_REV@latest
+ ln -s ~/go/bin/go$DEP_GOLANG_VER.$DEP_GOLANG_NODEB_REV ~/go/bin/go
+ export PATH="$HOME/go/bin:$PATH"
+ go download
+ go version
+ fi
;;
esac