5353 with :
5454 node-version : ${{ env.NODE_VERSION }}
5555 cache : " pnpm"
56+ - name : Setup Rust toolchain
57+ uses : dtolnay/rust-toolchain@stable
58+ with :
59+ toolchain : stable
5660 # 清理旧的构建产物
5761 - name : Clean workspace on Windows
5862 if : runner.os == 'Windows'
@@ -137,19 +141,28 @@ jobs:
137141 name : Upload Artifacts - Windows Setup arm64,
138142 if : runner.os == 'Windows',
139143 uses : actions/upload-artifact@v4,
140- with : { name: SPlayer-Windows-setup-arm64, path: dist/*-arm64-setup.exe },
144+ with :
145+ { name: SPlayer-Windows-setup-arm64, path: dist/*-arm64-setup.exe },
141146 }
142147 - {
143148 name : Upload Artifacts - Windows Portable x64,
144149 if : runner.os == 'Windows',
145150 uses : actions/upload-artifact@v4,
146- with : { name: SPlayer-Windows-portable-x64, path: dist/*-x64-portable.exe },
151+ with :
152+ {
153+ name : SPlayer-Windows-portable-x64,
154+ path : dist/*-x64-portable.exe,
155+ },
147156 }
148157 - {
149158 name : Upload Artifacts - Windows Portable arm64,
150159 if : runner.os == 'Windows',
151160 uses : actions/upload-artifact@v4,
152- with : { name: SPlayer-Windows-portable-arm64, path: dist/*-arm64-portable.exe },
161+ with :
162+ {
163+ name : SPlayer-Windows-portable-arm64,
164+ path : dist/*-arm64-portable.exe,
165+ },
153166 }
154167 - {
155168 name : Upload Artifacts - macOS DMG x64,
@@ -179,13 +192,15 @@ jobs:
179192 name : Upload Artifacts - Linux AppImage x64,
180193 if : runner.os == 'Linux',
181194 uses : actions/upload-artifact@v4,
182- with : { name: SPlayer-Linux-appimage-x64, path: dist/*-x86_64.AppImage },
195+ with :
196+ { name: SPlayer-Linux-appimage-x64, path: dist/*-x86_64.AppImage },
183197 }
184198 - {
185199 name : Upload Artifacts - Linux AppImage arm64,
186200 if : runner.os == 'Linux',
187201 uses : actions/upload-artifact@v4,
188- with : { name: SPlayer-Linux-appimage-arm64, path: dist/*-arm64.AppImage },
202+ with :
203+ { name: SPlayer-Linux-appimage-arm64, path: dist/*-arm64.AppImage },
189204 }
190205 - {
191206 name : Upload Artifacts - Linux Pacman x64,
@@ -197,7 +212,8 @@ jobs:
197212 name : Upload Artifacts - Linux Pacman arm64,
198213 if : runner.os == 'Linux',
199214 uses : actions/upload-artifact@v4,
200- with : { name: SPlayer-Linux-pacman-arm64, path: dist/*-aarch64.pacman },
215+ with :
216+ { name: SPlayer-Linux-pacman-arm64, path: dist/*-aarch64.pacman },
201217 }
202218 - {
203219 name : Upload Artifacts - Linux DEB x64,
0 commit comments