refactor(ci): deduplicate electron-forge

This commit is contained in:
Elian Doran 2025-01-18 20:49:50 +02:00
parent f9082fa812
commit bfdb69292c
No known key found for this signature in database
3 changed files with 7 additions and 10 deletions

View File

@ -41,8 +41,7 @@ jobs:
uses: ./.github/actions/build
with:
os: ${{ matrix.os.name }}
- name: Run electron-forge
run: npm run make-electron -- --arch=${{ matrix.arch }}
arch: ${{ matrix.arch }}
- name: Prepare artifacts (Unix)
if: runner.os != 'windows'
run: |

View File

@ -34,14 +34,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- name: Update nightly version
run: npm run ci-update-nightly-version
- name: Run the build
uses: ./.github/actions/build
with:
os: ${{ matrix.os.name }}
- name: Update nightly version
run: npm run ci-update-nightly-version
- name: Run electron-forge
run: npm run make-electron -- --arch=${{ matrix.arch }}
arch: ${{ matrix.arch }}
- name: Prepare artifacts (Unix)
if: runner.os != 'windows'
run: |

View File

@ -38,8 +38,7 @@ jobs:
uses: ./.github/actions/build
with:
os: ${{ matrix.os.name }}
- name: Run electron-forge
run: npm run make-electron -- --arch=${{ matrix.arch }}
arch: ${{ matrix.arch }}
- name: Prepare artifacts (Unix)
if: runner.os != 'windows'
run: |