From 1a29fe6569d075129324b4108d1b064df0881455 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Tue, 13 Feb 2024 22:30:10 +1100 Subject: [PATCH] Multiple workflow fixes --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 336b80e..f004c93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: libusb-1.0-0 libusb-0.1-4:i386 + version: 1.0 - name: Setup Node uses: actions/setup-node@v3 with: @@ -36,6 +40,7 @@ jobs: node-version: '19.x' - name: Install Electron and build run: | + python3 -m pip install packaging npm install electron-rebuild -g npm install electron-builder -g npm install @@ -60,7 +65,7 @@ jobs: npm install electron-rebuild -g npm install electron-builder -g npm install - npm run package-mac + npm run package-win - name: Save .exe as artefact uses: actions/upload-artifact@v4 with: