Skip to content

Commit

Permalink
Export gopath
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Teoh committed Dec 26, 2023
1 parent 24a6260 commit 07809e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/setup-go-tip/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ runs:
echo "Downloaded bundle:"
ls -lah gotip.tar.gz
export GOROOT="$HOME/sdk/gotip"
export GOPATH="$HOME/go"
mkdir -p $GOROOT
tar -C $GOROOT -xzf gotip.tar.gz
export PATH="$GOROOT/bin/:$PATH"
export PATH="$GOROOT/bin/:$GOPATH/bin:$PATH"
echo "GOROOT=$GOROOT" >> $GITHUB_ENV
echo "GOPATH=$GOPATH" >> $GITHUB_ENV
echo "PATH=$PATH" >> $GITHUB_ENV
echo "Active Go version:"
go version

0 comments on commit 07809e2

Please sign in to comment.