Skip to content

Commit

Permalink
Paths fix
Browse files Browse the repository at this point in the history
Former-commit-id: a207229
  • Loading branch information
vadzz-dev committed May 31, 2020
1 parent 058d683 commit 39ce910
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
cmake -G"Visual Studio 16" -A x64 -DJS_MODULE_VERSION=$VERSION ..
cmake --build . --config Release
popd
mkdir dist
copy build\Release\js-module.dll dist
copy deps\nodejs\lib\Release\libnode.dll dist
mkdir dist\modules\js-module
copy build\Release\js-module.dll dist\modules\js-module
copy deps\nodejs\lib\Release\libnode.dll dist\modules\js-module
env:
VERSION: ${{ steps.version.outputs.VERSION }}

Expand Down Expand Up @@ -59,9 +59,9 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-8 -DJS_MODULE_VERSION=%VERSION% ..
cmake --build . --config Release
cd ..
mkdir dist
cp ./build-linux/libjs-module.so dist/
cp ./deps/nodejs/lib/libnode.so dist/
mkdir -p dist/modules/js-module
cp ./build-linux/libjs-module.so dist/modules/js-module
cp ./deps/nodejs/lib/libnode.so dist/modules/js-module
env:
VERSION: ${{ steps.version.outputs.VERSION }}

Expand Down Expand Up @@ -144,8 +144,8 @@ jobs:

- name: Zip artifacts
run: |
zip -r js-module-windows dist-windows
zip -r js-module-linux dist-linux
zip -r -j js-module-windows dist-windows
zip -r -j js-module-linux dist-linux
- name: Extract version
id: version
Expand Down

0 comments on commit 39ce910

Please sign in to comment.