Skip to content

Commit 63b33c1

Browse files
committed
ci: 修正 dev 脚本
1 parent b8a990f commit 63b33c1

1 file changed

Lines changed: 2 additions & 22 deletions

File tree

.github/workflows/dev.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,38 +20,18 @@ jobs:
2020
uses: actions/setup-node@v6
2121
with:
2222
node-version: '24.10.0'
23+
cache: pnpm
2324

2425
- name: Git SSH fix
2526
run: |
2627
git config --global url."https://github.com/".insteadOf git@github.com:
2728
git config --global url."https://".insteadOf git://
2829
29-
- name: Enable Corepack
30-
run: corepack enable
31-
32-
- name: Cache Linux pnpm
33-
if: matrix.os == 'ubuntu-latest'
34-
uses: actions/cache@v5
35-
with:
36-
path: ~/.local/share/pnpm/store
37-
key: pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
38-
restore-keys: |
39-
pnpm-${{ runner.os }}-
40-
41-
- name: Cache Windows pnpm
42-
if: matrix.os == 'windows-latest'
43-
uses: actions/cache@v5
44-
with:
45-
path: D:\.pnpm-store
46-
key: pnpm-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
47-
restore-keys: |
48-
pnpm-${{ runner.os }}-
49-
5030
- name: Install Dependencies
5131
run: pnpm install
5232

5333
- name: Build Electron App
54-
run: pnpm run build:latest
34+
run: pnpm run build
5535

5636
- name: Upload Linux Artifacts
5737
if: matrix.os == 'ubuntu-latest'

0 commit comments

Comments
 (0)