From c2ef37fb8e063fbdacd36273ad0de02c1f972efd Mon Sep 17 00:00:00 2001 From: Pierre Ferran Date: Tue, 16 Apr 2024 23:19:42 -0400 Subject: [PATCH] Win64 release in zip --- .github/workflows/release.yml | 10 +++++++++- forge.config.ts | 14 +++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 454a8706..91ed49a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, macos-latest, windows-latest] node-version: [18.x] steps: @@ -59,6 +59,14 @@ jobs: - name: Upload artifacts uses: softprops/action-gh-release@v2 + if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' with: tag_name: ${{ steps.relinfo.outputs.release }} files: out/make/**/*.{deb,zip} + + - name: Upload artifacts + uses: softprops/action-gh-release@v2 + if: matrix.os == 'windows-latest' + with: + tag_name: ${{ steps.relinfo.outputs.release }} + files: .\out\make\**\*.zip diff --git a/forge.config.ts b/forge.config.ts index 5d850379..20e56dd6 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -29,16 +29,16 @@ const config: ForgeConfig = { }, rebuildConfig: {}, makers: [ - { - "name": "@electron-forge/maker-squirrel", - "config": { - "name": "my_electron_app" - } - }, + // { + // "name": "@electron-forge/maker-squirrel", + // "config": { + // "name": "my_electron_app" + // } + // }, { "name": "@electron-forge/maker-zip", config: { - platforms: ['darwin'] + platforms: ['darwin', 'win64'] } }, {