From 8ffceebb849107bd5c74661eb41951c9833ada42 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 23 Jun 2023 01:50:59 -0400 Subject: [PATCH] ci: fix duplicate job --- .circleci/config.yml | 41 +++++++++++++---------------------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 54e5c74..612ae4c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,19 +10,19 @@ workflows: name: build npm-run: build pre-steps: - - run: - command: > - bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) - gvm install go1.4 - gvm use go1.4 --default - gvm install go1.4 - gvm use go1.8 --default - VERSION=0.28.1 - TINYGO="tinygo_${VERSION}_amd64.deb" - wget https://github.com/tinygo-org/tinygo/releases/download/$VERSION/$TINYGO - sudo dpkg -i $TINYGO && rm $TINYGO - cd src/golang - go get + - run: + command: > + bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) + gvm install go1.4 + gvm use go1.4 --default + gvm install go1.4 + gvm use go1.8 --default + VERSION=0.28.1 + TINYGO="tinygo_${VERSION}_amd64.deb" + wget https://github.com/tinygo-org/tinygo/releases/download/$VERSION/$TINYGO + sudo dpkg -i $TINYGO && rm $TINYGO + cd src/golang + go get post-steps: - persist_to_workspace: @@ -30,21 +30,6 @@ workflows: paths: - lib/ - filters: - branches: - only: - - master - - develop - - /^develop-.*$/ - - node/run: - name: build - npm-run: build - post-steps: - - persist_to_workspace: - root: . - paths: - - lib/ - filters: branches: only: