Update c-cpp.yml

This commit is contained in:
Alex Hultman 2021-10-24 22:52:00 +02:00 committed by GitHub
parent a7869567ff
commit 0afd0d8147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,10 +16,10 @@ 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
nmake nmake
git fetch origin binaries:binaries
git checkout binaries git checkout binaries
xcopy /Y dist\*.node . xcopy /Y dist\*.node .
git status git status
git pull origin binaries
git config --global user.email "alexhultman@gmail.com" git config --global user.email "alexhultman@gmail.com"
git config --global user.name "Alex Hultman" git config --global user.name "Alex Hultman"
git commit -a -m "[GitHub Actions] Updated windows-latest binaries" git commit -a -m "[GitHub Actions] Updated windows-latest binaries"
@ -39,10 +39,10 @@ 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
make make
git fetch origin binaries:binaries
git checkout binaries git checkout binaries
cp dist/*.node . cp dist/*.node .
git status git status
git pull origin binaries
git rev-parse master > source_commit git rev-parse master > source_commit
git checkout master docs/index.d.ts && mv docs/index.d.ts . git checkout master docs/index.d.ts && mv docs/index.d.ts .
git config --global user.email "alexhultman@gmail.com" git config --global user.email "alexhultman@gmail.com"