refactor(ci): deduplicate installing dependencies & updating build

This commit is contained in:
Elian Doran 2025-01-18 20:47:09 +02:00
parent 688b5317c1
commit f9082fa812
No known key found for this signature in database
3 changed files with 3 additions and 15 deletions

View File

@ -40,11 +40,7 @@ jobs:
- name: Run the build
uses: ./.github/actions/build
with:
os: ${{ matrix.os.name }}
- name: Install dependencies
run: npm ci
- name: Update build info
run: npm run update-build-info
os: ${{ matrix.os.name }}
- name: Run electron-forge
run: npm run make-electron -- --arch=${{ matrix.arch }}
- name: Prepare artifacts (Unix)

View File

@ -37,11 +37,7 @@ jobs:
- name: Run the build
uses: ./.github/actions/build
with:
os: ${{ matrix.os.name }}
- name: Install dependencies
run: npm ci
- name: Update build info
run: npm run update-build-info
os: ${{ matrix.os.name }}
- name: Update nightly version
run: npm run ci-update-nightly-version
- name: Run electron-forge

View File

@ -37,11 +37,7 @@ jobs:
- name: Run the build
uses: ./.github/actions/build
with:
os: ${{ matrix.os.name }}
- name: Install dependencies
run: npm ci
- name: Update build info
run: npm run update-build-info
os: ${{ matrix.os.name }}
- name: Run electron-forge
run: npm run make-electron -- --arch=${{ matrix.arch }}
- name: Prepare artifacts (Unix)