更新action依赖版本

pull/1773/head
lyswhut 2024-01-26 16:55:31 +08:00
parent 160693f608
commit f13c6f0153
3 changed files with 18 additions and 18 deletions

View File

@ -11,7 +11,7 @@ runs:
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.NPM_CACHE }}

View File

@ -19,7 +19,7 @@ jobs:
# node-version: '16'
# - name: Cache file
# uses: actions/cache@v3
# uses: actions/cache@v4
# with:
# path: |
# node_modules
@ -58,7 +58,7 @@ jobs:
- name: Build Package Setup x64
run: npm run pack:win:setup:x64
- name: Upload Artifact Setup x64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-x64-Setup
path: build/*-x64-Setup.exe
@ -66,7 +66,7 @@ jobs:
- name: Build Package 7z x64
run: npm run pack:win:7z:x64
- name: Upload Artifact 7z x64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-win_x64-green
path: build/*win_x64-green.7z
@ -74,7 +74,7 @@ jobs:
- name: Build Package Setup arm64
run: npm run pack:win:setup:arm64
- name: Upload Artifact Setup arm64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-arm64-Setup
path: build/*-arm64-Setup.exe
@ -82,7 +82,7 @@ jobs:
- name: Build Package 7z arm64
run: npm run pack:win:7z:arm64
- name: Upload Artifact 7z arm64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-win_arm64-green
path: build/*win_arm64-green.7z
@ -97,7 +97,7 @@ jobs:
- name: Build Package win7 Setup x64
run: npm run pack:win7:setup:x64
- name: Upload Artifact win7 Setup x64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-win7_x64-Setup
path: build/*win7_x64-Setup.exe
@ -105,7 +105,7 @@ jobs:
- name: Build Package win7 7z x64
run: npm run pack:win7:7z:x64
- name: Upload Artifact win7 7z x64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-win7_x64-green
path: build/*win7_x64-green.7z
@ -113,7 +113,7 @@ jobs:
- name: Build Package win7 7z x86
run: npm run pack:win7:7z:x86
- name: Upload Artifact win7 7z x86
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-win7_x86-green
path: build/*win7_x86-green.7z
@ -150,14 +150,14 @@ jobs:
npm run pack:mac:dmg:arm64
- name: Upload Artifact dmg
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-mac-dmg
path: |
build/*.dmg
!build/*-arm64.dmg
- name: Upload Artifact dmg
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-mac-dmg-arm64
path: build/*-arm64.dmg
@ -191,7 +191,7 @@ jobs:
- name: Build Package deb amd64
run: npm run pack:linux:deb:amd64
- name: Upload Artifact deb amd64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-deb-amd64
path: build/*_amd64.deb
@ -199,7 +199,7 @@ jobs:
- name: Build Package deb arm64
run: npm run pack:linux:deb:arm64
- name: Upload Artifact deb arm64
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-deb-arm64
path: build/*_arm64.deb
@ -207,7 +207,7 @@ jobs:
- name: Build Package deb armv7l
run: npm run pack:linux:deb:armv7l
- name: Upload Artifact deb armv7l
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-deb-armv7l
path: build/*_armv7l.deb
@ -215,7 +215,7 @@ jobs:
- name: Build Package x64 appImage
run: npm run pack:linux:appImage
- name: Upload Artifact x64 appImage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-x64-appImage
path: build/*_x64.AppImage
@ -223,7 +223,7 @@ jobs:
- name: Build Package x64 rpm
run: npm run pack:linux:rpm
- name: Upload Artifact x64 rpm
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-x64-rpm
path: build/*.x64.rpm
@ -231,7 +231,7 @@ jobs:
- name: Build Package x64 pacman
run: npm run pack:linux:pacman
- name: Upload Artifact x64 pacman
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lx-music-desktop-x64-pacman
path: build/*_x64.pacman

View File

@ -19,7 +19,7 @@ jobs:
# node-version: '16'
# - name: Cache file
# uses: actions/cache@v3
# uses: actions/cache@v4
# with:
# path: |
# node_modules