Skip to content

Commit

Permalink
Add "executableName" so linux builds can be generated and change the …
Browse files Browse the repository at this point in the history
…strategy of the release to try make windows job work
  • Loading branch information
earrietadev committed Jul 16, 2024
1 parent a0df676 commit b049a9a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 18 deletions.
28 changes: 11 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,16 @@ jobs:
- name: Create code builds
run: pnpm --filter soroban-hub-front build && pnpm --filter soroban-hub-back build

- name: Copy build to the Electron app
run: node ./copy-files.js

- name: Save code builds
id: code-builds-save
uses: actions/cache/save@v4
with:
path: |
apps/soroban-hub-back/dist/apps/main
apps/soroban-hub-front/dist/soroban-hub-front/browser
apps/soroban-hub/src/main/index.js
apps/soroban-hub/src/renderer
key: code-builds

build_on_linux:
Expand All @@ -53,13 +56,10 @@ jobs:
uses: actions/cache/restore@v4
with:
path: |
apps/soroban-hub-back/dist/apps/main
apps/soroban-hub-front/dist/soroban-hub-front/browser
apps/soroban-hub/src/main/index.js
apps/soroban-hub/src/renderer
key: code-builds

- name: Copy code builds
run: node ./copy-files.js

- name: install dependencies
working-directory: ./apps/soroban-hub
run: npm install
Expand All @@ -84,13 +84,10 @@ jobs:
uses: actions/cache/restore@v4
with:
path: |
apps/soroban-hub-back/dist/apps/main
apps/soroban-hub-front/dist/soroban-hub-front/browser
apps/soroban-hub/src/main/index.js
apps/soroban-hub/src/renderer
key: code-builds

- name: Copy code builds
run: node ./copy-files.js

- name: install dependencies
working-directory: ./apps/soroban-hub
run: npm install
Expand All @@ -115,13 +112,10 @@ jobs:
uses: actions/cache/restore@v4
with:
path: |
apps/soroban-hub-back/dist/apps/main
apps/soroban-hub-front/dist/soroban-hub-front/browser
apps/soroban-hub/src/main/index.js
apps/soroban-hub/src/renderer
key: code-builds

- name: Copy code builds
run: node ./copy-files.js

- name: install dependencies
working-directory: ./apps/soroban-hub
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion apps/soroban-hub/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
name: 'SorobanHub',
appBundleId: 'com.sorobanhub.app',
icon: 'src/assets/icons/icon',
executableName: 'SorobanHub'
},
publishers: [
{
Expand All @@ -27,7 +28,6 @@ module.exports = {
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
},
{
name: '@electron-forge/maker-deb',
Expand Down

0 comments on commit b049a9a

Please sign in to comment.