workflow dispatch
@@ -5,6 +5,7 @@ on:
branches: [ master ]
pull_request:
branches: [ master, dev]
+ workflow_dispatch:
env:
CARGO_TERM_COLOR: always
@@ -40,8 +41,8 @@ jobs:
echo $PATH &&
rm -rf $HOME/golang &&
rm -rf $HOME/gopath &&
- mkdir -p $HOME/golang # for GOROOT (contains the Go binary & core packages) &&
- mkdir -p $HOME/gopath # for GOPATH (contains code and external packages) &&
+ mkdir -p $HOME/golang && # for GOROOT (contains the Go binary & core packages) &&
+ mkdir -p $HOME/gopath && # for GOPATH (contains code and external packages) &&
curl http://storage.googleapis.com/golang/go1.5.2.linux-amd64.tar.gz 2>/dev/null > go1.5.2.linux-amd64.tar.gz &&
tar -C $HOME/golang -xzf go1.5.2.linux-amd64.tar.gz &&
export GOROOT=$HOME/golang/go &&
