Skip to content

Commit 9b3d3eb

Browse files
Fix build.yml git checkout conflict
Update build script to handle errors and add files to git.
1 parent cf5d8ba commit 9b3d3eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ jobs:
3434
git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
3535
cd uWebSockets.js
3636
if [ "${{ matrix.os }}" == "windows-latest" ]; then
37-
nmake
37+
nmake || true
3838
else
3939
make
4040
fi
4141
cp dist/*.node . || true
4242
cp dist/*.js . || true
4343
git checkout master docs/index.d.ts && mv docs/index.d.ts . || true
44+
git add *.node *.js index.d.ts || true
4445
git fetch origin binaries:binaries
4546
git checkout binaries
4647
git status

0 commit comments

Comments
 (0)