Skip to content

Commit 7c4f2e6

Browse files
committed
ci: 固定 node 版本,调整输出文件位置
1 parent 6e12e08 commit 7c4f2e6

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set Up Node.js
2020
uses: actions/setup-node@v6
2121
with:
22-
node-version: 'latest'
22+
node-version: '24.10.0'
2323

2424
- name: Enable Corepack
2525
run: corepack enable
@@ -53,11 +53,11 @@ jobs:
5353
uses: actions/upload-artifact@v7
5454
with:
5555
name: linux-release-assets-${{ github.sha }}
56-
path: release/*/jm-desktop-Linux-*.zip
56+
path: release/make/zip/linux/x64/jm-desktop-*.zip
5757

5858
- name: Upload Windows Artifacts
5959
if: matrix.os == 'windows-latest'
6060
uses: actions/upload-artifact@v7
6161
with:
6262
name: windows-release-assets-${{ github.sha }}
63-
path: release/*/jm-desktop-Windows-*.zip
63+
path: release/make/zip/win32/x64/jm-desktop-*.zip

.github/workflows/latest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set Up Node.js
2222
uses: actions/setup-node@v6
2323
with:
24-
node-version: 'latest'
24+
node-version: '24.10.0'
2525

2626
- name: Enable Corepack
2727
run: corepack enable
@@ -55,11 +55,11 @@ jobs:
5555
uses: actions/upload-artifact@v7
5656
with:
5757
name: linux-release-assets-${{ github.sha }}
58-
path: release/*/jm-desktop-Linux-*.zip
58+
path: release/make/zip/linux/x64/jm-desktop-*.zip
5959

6060
- name: Upload Windows Artifacts
6161
if: matrix.os == 'windows-latest'
6262
uses: actions/upload-artifact@v7
6363
with:
6464
name: windows-release-assets-${{ github.sha }}
65-
path: release/*/jm-desktop-Windows-*.zip
65+
path: release/make/zip/win32/x64/jm-desktop-*.zip

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set Up Node.js
2323
uses: actions/setup-node@v6
2424
with:
25-
node-version: 'latest'
25+
node-version: '24.10.0'
2626

2727
- name: Enable Corepack
2828
run: corepack enable
@@ -50,5 +50,5 @@ jobs:
5050

5151
- name: Build Electron App
5252
env:
53-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
53+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
5454
run: pnpm run build

0 commit comments

Comments
 (0)