mirror of
https://github.com/uNetworking/uWebSockets.js.git
synced 2025-12-19 18:10:26 -05:00
Fix build.yml git checkout conflict
Update build script to handle errors and add files to git.
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -34,13 +34,14 @@ jobs:
|
|||||||
git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
|
git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
|
||||||
cd uWebSockets.js
|
cd uWebSockets.js
|
||||||
if [ "${{ matrix.os }}" == "windows-latest" ]; then
|
if [ "${{ matrix.os }}" == "windows-latest" ]; then
|
||||||
nmake
|
nmake || true
|
||||||
else
|
else
|
||||||
make
|
make
|
||||||
fi
|
fi
|
||||||
cp dist/*.node . || true
|
cp dist/*.node . || true
|
||||||
cp dist/*.js . || true
|
cp dist/*.js . || true
|
||||||
git checkout master docs/index.d.ts && mv docs/index.d.ts . || true
|
git checkout master docs/index.d.ts && mv docs/index.d.ts . || true
|
||||||
|
git add *.node *.js index.d.ts || true
|
||||||
git fetch origin binaries:binaries
|
git fetch origin binaries:binaries
|
||||||
git checkout binaries
|
git checkout binaries
|
||||||
git status
|
git status
|
||||||
|
|||||||
Reference in New Issue
Block a user