Skip to content

Commit 69e285d

Browse files
committed
升级 GitHub Actions 依赖至最新版本
1 parent 728fed2 commit 69e285d

5 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: composite
66
steps:
77
- name: Setup Node.js
8-
uses: actions/setup-node@v4
8+
uses: actions/setup-node@v6
99
with:
1010
node-version: '22'
1111

@@ -16,7 +16,7 @@ runs:
1616
# https://docs.npmjs.com/cli/v10/configuring-npm/folders#cache
1717
- name: Cache node modules
1818
id: cache-npm
19-
uses: actions/cache@v4
19+
uses: actions/cache@v6
2020
with:
2121
path: ${{ env.NPM_CACHE }}
2222
key: ${{ runner.os }}-npm-cache-${{ hashFiles('package-lock.json') }}

.github/workflows/beta-pack.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# runs-on: ubuntu-latest
1515
# steps:
1616
# - name: Check out git repository
17-
# uses: actions/checkout@v4
17+
# uses: actions/checkout@v6
1818

1919
# - name: Install Node.js
2020
# uses: actions/setup-node@v4
@@ -46,7 +46,7 @@ jobs:
4646
# needs: CheckCode
4747
steps:
4848
- name: Check out git repository
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v6
5050

5151
- name: Get npm cache directory
5252
shell: pwsh
@@ -65,31 +65,31 @@ jobs:
6565
- name: Build Package Setup x64
6666
run: npm run pack:win:setup:x64
6767
- name: Upload Artifact Setup x64
68-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@v7
6969
with:
7070
name: lx-music-desktop-x64-Setup
7171
path: build/*-x64-Setup.exe
7272

7373
- name: Build Package 7z x64
7474
run: npm run pack:win:7z:x64
7575
- name: Upload Artifact 7z x64
76-
uses: actions/upload-artifact@v4
76+
uses: actions/upload-artifact@v7
7777
with:
7878
name: lx-music-desktop-win_x64-green
7979
path: build/*win_x64-green.7z
8080

8181
- name: Build Package Setup arm64
8282
run: npm run pack:win:setup:arm64
8383
- name: Upload Artifact Setup arm64
84-
uses: actions/upload-artifact@v4
84+
uses: actions/upload-artifact@v7
8585
with:
8686
name: lx-music-desktop-arm64-Setup
8787
path: build/*-arm64-Setup.exe
8888

8989
- name: Build Package 7z arm64
9090
run: npm run pack:win:7z:arm64
9191
- name: Upload Artifact 7z arm64
92-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@v7
9393
with:
9494
name: lx-music-desktop-win_arm64-green
9595
path: build/*win_arm64-green.7z
@@ -107,7 +107,7 @@ jobs:
107107
# needs: CheckCode
108108
steps:
109109
- name: Check out git repository
110-
uses: actions/checkout@v4
110+
uses: actions/checkout@v6
111111

112112
- name: Get npm cache directory
113113
shell: pwsh
@@ -138,23 +138,23 @@ jobs:
138138
- name: Build Package win7 Setup x64
139139
run: npm run pack:win7:setup:x64
140140
- name: Upload Artifact win7 Setup x64
141-
uses: actions/upload-artifact@v4
141+
uses: actions/upload-artifact@v7
142142
with:
143143
name: lx-music-desktop-win7_x64-Setup
144144
path: build/*win7_x64-Setup.exe
145145

146146
- name: Build Package win7 7z x64
147147
run: npm run pack:win7:7z:x64
148148
- name: Upload Artifact win7 7z x64
149-
uses: actions/upload-artifact@v4
149+
uses: actions/upload-artifact@v7
150150
with:
151151
name: lx-music-desktop-win7_x64-green
152152
path: build/*win7_x64-green.7z
153153

154154
- name: Build Package win7 7z x86
155155
run: npm run pack:win7:7z:x86
156156
- name: Upload Artifact win7 7z x86
157-
uses: actions/upload-artifact@v4
157+
uses: actions/upload-artifact@v7
158158
with:
159159
name: lx-music-desktop-win7_x86-green
160160
path: build/*win7_x86-green.7z
@@ -170,7 +170,7 @@ jobs:
170170
# needs: CheckCode
171171
steps:
172172
- name: Check out git repository
173-
uses: actions/checkout@v4
173+
uses: actions/checkout@v6
174174

175175
- name: Install python setuptools
176176
run: brew install python-setuptools
@@ -195,14 +195,14 @@ jobs:
195195
npm run pack:mac:dmg:arm64
196196
197197
- name: Upload Artifact dmg
198-
uses: actions/upload-artifact@v4
198+
uses: actions/upload-artifact@v7
199199
with:
200200
name: lx-music-desktop-mac-dmg
201201
path: |
202202
build/*.dmg
203203
!build/*-arm64.dmg
204204
- name: Upload Artifact dmg
205-
uses: actions/upload-artifact@v4
205+
uses: actions/upload-artifact@v7
206206
with:
207207
name: lx-music-desktop-mac-dmg-arm64
208208
path: build/*-arm64.dmg
@@ -221,7 +221,7 @@ jobs:
221221
run: sudo apt-get update && sudo apt-get install -y rpm libarchive-tools
222222

223223
- name: Check out git repository
224-
uses: actions/checkout@v4
224+
uses: actions/checkout@v6
225225

226226
- name: Get npm cache directory
227227
shell: bash
@@ -240,47 +240,47 @@ jobs:
240240
- name: Build Package deb amd64
241241
run: npm run pack:linux:deb:amd64
242242
- name: Upload Artifact deb amd64
243-
uses: actions/upload-artifact@v4
243+
uses: actions/upload-artifact@v7
244244
with:
245245
name: lx-music-desktop-deb-amd64
246246
path: build/*_amd64.deb
247247

248248
- name: Build Package deb arm64
249249
run: npm run pack:linux:deb:arm64
250250
- name: Upload Artifact deb arm64
251-
uses: actions/upload-artifact@v4
251+
uses: actions/upload-artifact@v7
252252
with:
253253
name: lx-music-desktop-deb-arm64
254254
path: build/*_arm64.deb
255255

256256
- name: Build Package deb armv7l
257257
run: npm run pack:linux:deb:armv7l
258258
- name: Upload Artifact deb armv7l
259-
uses: actions/upload-artifact@v4
259+
uses: actions/upload-artifact@v7
260260
with:
261261
name: lx-music-desktop-deb-armv7l
262262
path: build/*_armv7l.deb
263263

264264
- name: Build Package x64 appImage
265265
run: npm run pack:linux:appImage
266266
- name: Upload Artifact x64 appImage
267-
uses: actions/upload-artifact@v4
267+
uses: actions/upload-artifact@v7
268268
with:
269269
name: lx-music-desktop-x64-appImage
270270
path: build/*_x64.AppImage
271271

272272
- name: Build Package x64 rpm
273273
run: npm run pack:linux:rpm
274274
- name: Upload Artifact x64 rpm
275-
uses: actions/upload-artifact@v4
275+
uses: actions/upload-artifact@v7
276276
with:
277277
name: lx-music-desktop-x64-rpm
278278
path: build/*.x64.rpm
279279

280280
- name: Build Package x64 pacman
281281
run: npm run pack:linux:pacman
282282
- name: Upload Artifact x64 pacman
283-
uses: actions/upload-artifact@v4
283+
uses: actions/upload-artifact@v7
284284
with:
285285
name: lx-music-desktop-x64-pacman
286286
path: build/*_x64.pacman

.github/workflows/build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111

1212
steps:
1313
- name: Check out git repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515

1616
- name: Install Node.js
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@v6
1818
with:
1919
node-version: 22
2020

.github/workflows/publish-version-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Repository Dispatch
12-
uses: peter-evans/repository-dispatch@v2
12+
uses: peter-evans/repository-dispatch@v4
1313
with:
1414
token: ${{ secrets.PAT }}
1515
repository: lyswhut/lx-music-desktop-version-info

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# runs-on: ubuntu-latest
1515
# steps:
1616
# - name: Check out git repository
17-
# uses: actions/checkout@v4
17+
# uses: actions/checkout@v6
1818

1919
# - name: Install Node.js
2020
# uses: actions/setup-node@v4
@@ -46,7 +46,7 @@ jobs:
4646
# needs: CheckCode
4747
steps:
4848
- name: Check out git repository
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v6
5050

5151
- name: Get npm cache directory
5252
shell: pwsh
@@ -87,7 +87,7 @@ jobs:
8787
# needs: CheckCode
8888
steps:
8989
- name: Check out git repository
90-
uses: actions/checkout@v4
90+
uses: actions/checkout@v6
9191

9292
- name: Get npm cache directory
9393
shell: pwsh
@@ -135,7 +135,7 @@ jobs:
135135
# needs: CheckCode
136136
steps:
137137
- name: Check out git repository
138-
uses: actions/checkout@v4
138+
uses: actions/checkout@v6
139139

140140
- name: Install python3 setuptools
141141
run: brew install python-setuptools
@@ -178,7 +178,7 @@ jobs:
178178
run: sudo apt-get update && sudo apt-get install -y rpm libarchive-tools
179179

180180
- name: Check out git repository
181-
uses: actions/checkout@v4
181+
uses: actions/checkout@v6
182182

183183
- name: Get npm cache directory
184184
shell: bash

0 commit comments

Comments
 (0)