Skip to content

Commit

Permalink
Win64 release in zip
Browse files Browse the repository at this point in the history
  • Loading branch information
pierr3 committed Apr 17, 2024
1 parent 72daefd commit c2ef37f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [18.x]

steps:
Expand Down Expand Up @@ -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
14 changes: 7 additions & 7 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
},
{
Expand Down

0 comments on commit c2ef37f

Please sign in to comment.