Skip to content

Commit c3f1a7c

Browse files
Fix CI yaml build
1 parent f4ad01d commit c3f1a7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/JsPublish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ jobs:
142142
image: ${{ matrix.settings.docker }}
143143
options: >
144144
--user 0:0
145-
# cache your cargo registry/git db from the JS folder as before
145+
# cache your cargo registry/git db
146146
-v ${{ github.workspace }}/BinaryOptionsToolsJs/.cargo-cache/git/db:/usr/local/cargo/git/db
147147
-v ${{ github.workspace }}/BinaryOptionsToolsJs/.cargo/registry/cache:/usr/local/cargo/registry/cache
148148
-v ${{ github.workspace }}/BinaryOptionsToolsJs/.cargo/registry/index:/usr/local/cargo/registry/index
149-
# mount the *entire* repo so cargo can see ../crates
150-
-v ${{ github.workspace }}:/work
151-
-w /work/BinaryOptionsToolsJs
149+
# use the runner’s built-in mount of the whole repo at /github/workspace,
150+
# then cd into the JS project folder:
151+
-w /github/workspace/BinaryOptionsToolsJs
152152
run: ${{ matrix.settings.build }}
153153
- name: Build
154154
run: ${{ matrix.settings.build }}

0 commit comments

Comments
 (0)