mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
refactor(ci): deduplicate electron-forge
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -41,8 +41,7 @@ jobs:
|
|||||||
uses: ./.github/actions/build
|
uses: ./.github/actions/build
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os.name }}
|
os: ${{ matrix.os.name }}
|
||||||
- name: Run electron-forge
|
arch: ${{ matrix.arch }}
|
||||||
run: npm run make-electron -- --arch=${{ matrix.arch }}
|
|
||||||
- name: Prepare artifacts (Unix)
|
- name: Prepare artifacts (Unix)
|
||||||
if: runner.os != 'windows'
|
if: runner.os != 'windows'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
7
.github/workflows/nightly.yml
vendored
7
.github/workflows/nightly.yml
vendored
@@ -34,14 +34,13 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
- name: Update nightly version
|
||||||
|
run: npm run ci-update-nightly-version
|
||||||
- name: Run the build
|
- name: Run the build
|
||||||
uses: ./.github/actions/build
|
uses: ./.github/actions/build
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os.name }}
|
os: ${{ matrix.os.name }}
|
||||||
- name: Update nightly version
|
arch: ${{ matrix.arch }}
|
||||||
run: npm run ci-update-nightly-version
|
|
||||||
- name: Run electron-forge
|
|
||||||
run: npm run make-electron -- --arch=${{ matrix.arch }}
|
|
||||||
- name: Prepare artifacts (Unix)
|
- name: Prepare artifacts (Unix)
|
||||||
if: runner.os != 'windows'
|
if: runner.os != 'windows'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -38,8 +38,7 @@ jobs:
|
|||||||
uses: ./.github/actions/build
|
uses: ./.github/actions/build
|
||||||
with:
|
with:
|
||||||
os: ${{ matrix.os.name }}
|
os: ${{ matrix.os.name }}
|
||||||
- name: Run electron-forge
|
arch: ${{ matrix.arch }}
|
||||||
run: npm run make-electron -- --arch=${{ matrix.arch }}
|
|
||||||
- name: Prepare artifacts (Unix)
|
- name: Prepare artifacts (Unix)
|
||||||
if: runner.os != 'windows'
|
if: runner.os != 'windows'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user