mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
refactor(ci): deduplicate installing dependencies & updating build
This commit is contained in:
parent
688b5317c1
commit
f9082fa812
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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)
|
||||
|
6
.github/workflows/nightly.yml
vendored
6
.github/workflows/nightly.yml
vendored
@ -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
|
||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user