From d8a7f66fa0b65944aad9a77a76ccf6bafb291272 Mon Sep 17 00:00:00 2001 From: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com> Date: Wed, 5 Nov 2025 15:08:17 +0100 Subject: [PATCH] restore --- .github/workflows/build.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 38d9ce1..a66d778 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,22 +24,17 @@ jobs: git clone --recursive https://github.com/uNetworking/uWebSockets.js.git cd uWebSockets.js ${{ matrix.os == 'windows-latest' && 'nmake' || 'make' }} - cp dist/*.node . - cp dist/*.js . - ls - npm install ws - node tests/smoke.js - rm *.node - rm *.js git fetch origin binaries:binaries git checkout binaries cp dist/*.node . cp dist/*.js . - git add *.node *.js git rev-parse master > source_commit ${{ matrix.os != 'windows-latest' && 'git checkout master docs/index.d.ts && mv docs/index.d.ts .' || '' }} git status git config --global user.email "alexhultman@gmail.com" git config --global user.name "Alex Hultman" - git commit -m "[GitHub Actions] Updated ${{ matrix.os }} binaries" || true + git commit -a -m "[GitHub Actions] Updated ${{ matrix.os }} binaries" || true git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries + git checkout master -- tests/smoke.js + npm install ws + node tests/smoke.js