From 42f4064fbb14594d118cc43349f3d44681ec1fc9 Mon Sep 17 00:00:00 2001 From: shanejonas Date: Wed, 19 Jun 2019 18:06:03 -0700 Subject: [PATCH] fix(circle): attach to workspace for build artifacts --- .circleci/config.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5bd0f06..c11b140 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,9 +45,12 @@ jobs: docker: - image: circleci/node:10 steps: + - attach_workspace: + at: /tmp/project - checkout - restore_cache: *restore-deps-cache - - run: ls dist + - run: ls /tmp/project + - run: cp /tmp/project dist - run: npm install - run: npm install semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/commit-analyzer @semantic-release/release-notes-generator @qiwi/semantic-release-gh-pages-plugin - run: ./node_modules/.bin/semantic-release --dry-run @@ -66,7 +69,7 @@ jobs: - run: npm install - run: npm run electron:build -- --win --ia32 - persist_to_workspace: - root: ~/project/dist/ + root: /tmp/project/ paths: - dist/* @@ -83,7 +86,7 @@ jobs: - run: npm install - run: npm run electron:build - persist_to_workspace: - root: ~/project/dist/ + root: /tmp/project/ paths: - dist/* @@ -100,7 +103,7 @@ jobs: - run: npm install - run: npm run electron:build - persist_to_workspace: - root: ~/project/dist + root: /tmp/project/ paths: - dist/*