mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 21:08:34 +08:00
refactor(ci): deduplicate installing dependencies & updating build
This commit is contained in:
parent
688b5317c1
commit
f9082fa812
3 changed files with 3 additions and 15 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -41,10 +41,6 @@ jobs:
|
|||
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
|
||||
- name: Run electron-forge
|
||||
run: npm run make-electron -- --arch=${{ matrix.arch }}
|
||||
- name: Prepare artifacts (Unix)
|
||||
|
|
|
|||
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
|
@ -38,10 +38,6 @@ jobs:
|
|||
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
|
||||
- name: Update nightly version
|
||||
run: npm run ci-update-nightly-version
|
||||
- name: Run electron-forge
|
||||
|
|
|
|||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -38,10 +38,6 @@ jobs:
|
|||
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
|
||||
- name: Run electron-forge
|
||||
run: npm run make-electron -- --arch=${{ matrix.arch }}
|
||||
- name: Prepare artifacts (Unix)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue