Skip to content

Commit f66d7af

Browse files
committed
fix: Trying to get the build process right
1 parent 0cb2c86 commit f66d7af

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
- run:
5252
name: Generate Semantic Release
5353
command: yarn semantic-release
54+
- run:
55+
name: Setup worksapce
56+
command: mkdir -p workspace
57+
- run:
58+
name: Copy everything into the workspace
59+
command: cp -R build workspace/build && cp package.json workspace/package.json
5460
- persist_to_workspace:
5561
root: workspace
5662
paths:
@@ -63,6 +69,11 @@ jobs:
6369
- image: electronuserland/builder:wine
6470
steps:
6571
- checkout
72+
- attach_workspace:
73+
at: /tmp/workspace
74+
- run:
75+
name: Move Build and Package into the right place
76+
command: mv -R /tmp/workspace/build build && mv /tmp/workspace/package.json package.json
6677
- run:
6778
name: Install dependencies
6879
command: yarn install --ignore-engines
@@ -80,6 +91,11 @@ jobs:
8091
xcode: "11.3.1"
8192
steps:
8293
- checkout
94+
- attach_workspace:
95+
at: /tmp/workspace
96+
- run:
97+
name: Move Build and Package into the right place
98+
command: mv -R /tmp/workspace/build build && mv /tmp/workspace/package.json package.json
8399
- run:
84100
name: Install dependencies
85101
command: yarn install --ignore-engines

0 commit comments

Comments
 (0)