mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 01:20:56 -05:00
upgrade to go 1.20.4
This commit is contained in:
parent
203f05100b
commit
178b7fa387
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ function dependency_go() {
|
||||||
if ! which go > /dev/null ; then
|
if ! which go > /dev/null ; then
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y -qq wget tar
|
apt-get install -y -qq wget tar
|
||||||
wget https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
|
wget --quiet https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
|
||||||
tar zxf go1.20.3.linux-amd64.tar.gz
|
tar zxf go1.20.4.linux-amd64.tar.gz
|
||||||
export PATH=$PATH:$(pwd)/go/bin
|
export PATH=$PATH:$(pwd)/go/bin
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue