Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nk1tz committed Oct 17, 2024
1 parent 0caa8f1 commit ae6d287
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 45 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ jobs:

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os:
- macos-latest
# - ubuntu-latest
- windows-latest
include:
- os: macos-latest
make_command: make:mac
- os: ubuntu-latest
make_command: make:linux
# - os: ubuntu-latest
# make_command: make:linux
- os: windows-latest
make_command: make:win

Expand All @@ -37,6 +40,17 @@ jobs:
- name: Make Electron app
run: npm run ${{ matrix.make_command }}

- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-build
path: |
out/make/**/*.exe
out/make/**/*.msi
out/make/**/*.dmg
out/make/**/*.zip
if-no-files-found: error

- name: Publish Electron app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ module.exports = {
rebuildConfig: {},
makers: [
{
name: "@electron-forge/maker-squirrel",
name: "@electron-forge/maker-wix",
config: {
name: "GPGBridge",
authors: "Unchained",
manufacturer: "Unchained",
exe: "GPGBridge.exe",
setupIcon: "./icons/win/icon.ico",
icon: "./icons/win/icon.ico",
},
},
{
Expand Down
205 changes: 166 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@electron-forge/maker-dmg": "^7.5.0",
"@electron-forge/maker-rpm": "^7.5.0",
"@electron-forge/maker-squirrel": "^7.5.0",
"@electron-forge/maker-wix": "^7.5.0",
"@electron-forge/maker-zip": "^7.5.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.5.0",
"@electron-forge/plugin-fuses": "^7.5.0",
Expand Down

0 comments on commit ae6d287

Please sign in to comment.