Skip to content

Commit

Permalink
fix(circle): attach to workspace for build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas committed Jun 20, 2019
1 parent 02534a6 commit 42f4064
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/*

Expand All @@ -83,7 +86,7 @@ jobs:
- run: npm install
- run: npm run electron:build
- persist_to_workspace:
root: ~/project/dist/
root: /tmp/project/
paths:
- dist/*

Expand All @@ -100,7 +103,7 @@ jobs:
- run: npm install
- run: npm run electron:build
- persist_to_workspace:
root: ~/project/dist
root: /tmp/project/
paths:
- dist/*

Expand Down

0 comments on commit 42f4064

Please sign in to comment.