ci: fix duplicate job
This commit is contained in:
parent
0f8c4f4780
commit
8ffceebb84
|
@ -10,19 +10,19 @@ workflows:
|
||||||
name: build
|
name: build
|
||||||
npm-run: build
|
npm-run: build
|
||||||
pre-steps:
|
pre-steps:
|
||||||
- run:
|
- run:
|
||||||
command: >
|
command: >
|
||||||
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
|
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
|
||||||
gvm install go1.4
|
gvm install go1.4
|
||||||
gvm use go1.4 --default
|
gvm use go1.4 --default
|
||||||
gvm install go1.4
|
gvm install go1.4
|
||||||
gvm use go1.8 --default
|
gvm use go1.8 --default
|
||||||
VERSION=0.28.1
|
VERSION=0.28.1
|
||||||
TINYGO="tinygo_${VERSION}_amd64.deb"
|
TINYGO="tinygo_${VERSION}_amd64.deb"
|
||||||
wget https://github.com/tinygo-org/tinygo/releases/download/$VERSION/$TINYGO
|
wget https://github.com/tinygo-org/tinygo/releases/download/$VERSION/$TINYGO
|
||||||
sudo dpkg -i $TINYGO && rm $TINYGO
|
sudo dpkg -i $TINYGO && rm $TINYGO
|
||||||
cd src/golang
|
cd src/golang
|
||||||
go get
|
go get
|
||||||
|
|
||||||
post-steps:
|
post-steps:
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
@ -30,21 +30,6 @@ workflows:
|
||||||
paths:
|
paths:
|
||||||
- lib/
|
- lib/
|
||||||
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- develop
|
|
||||||
- /^develop-.*$/
|
|
||||||
- node/run:
|
|
||||||
name: build
|
|
||||||
npm-run: build
|
|
||||||
post-steps:
|
|
||||||
- persist_to_workspace:
|
|
||||||
root: .
|
|
||||||
paths:
|
|
||||||
- lib/
|
|
||||||
|
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
Loading…
Reference in New Issue