Skip to content

Commit

Permalink
Merge pull request #80 from Heath123/fix-builds
Browse files Browse the repository at this point in the history
Try to fix builds
  • Loading branch information
Heath123 authored Nov 13, 2022
2 parents 9698706 + 9e90d21 commit 7bdea58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x

- name: Set up Java
uses: actions/setup-java@v1
Expand All @@ -29,19 +29,19 @@ jobs:
- name: Build for Windows
run: |
npx electron-forge package --platform win32
cd out/pakkit-win32-x64/resources/app/; node-prune; npx electron-rebuild -v 8.5.2
cd out/pakkit-win32-x64/resources/app/; node-prune
- name: Build for Linux
run: |
npx electron-forge package --platform linux
cd out/pakkit-linux-x64/resources/app/; node-prune; npx electron-rebuild -v 8.5.2;
cd out/pakkit-linux-x64/resources/app/; node-prune
- run: chmod +x out/pakkit-linux-x64/pakkit

- name: Build for macOS
run: |
npx electron-forge package --platform darwin
cd out/pakkit-darwin-x64/pakkit.app/Contents/Resources/app/; node-prune; npx electron-rebuild -v 8.5.2
cd out/pakkit-darwin-x64/pakkit.app/Contents/Resources/app/; node-prune
- name: Create archives for new release
if: ${{ github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit 7bdea58

Please sign in to comment.