@@ -297,14 +297,21 @@ jobs:
297
297
run : |
298
298
$env:TAURI_PRIVATE_KEY="${{ secrets.TAURI_PRIVATE_KEY }}"
299
299
$env:TAURI_KEY_PASSWORD="${{ secrets.TAURI_KEY_PASSWORD }}"
300
- pnpm tauri build -b msi,updater - -target ${{ matrix.target }}
300
+ pnpm tauri build --target ${{ matrix.target }}
301
301
- name : Upload Artifacts
302
302
if : matrix.target == 'x86_64-pc-windows-msvc' || matrix.target == 'i686-pc-windows-msvc'
303
303
uses : actions/upload-artifact@v3
304
304
with :
305
305
name : pot_${{ matrix.target }}.msi
306
306
path : src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi
307
307
if-no-files-found : error
308
+ - name : Upload Artifacts
309
+ if : matrix.target == 'x86_64-pc-windows-msvc' || matrix.target == 'i686-pc-windows-msvc'
310
+ uses : actions/upload-artifact@v3
311
+ with :
312
+ name : pot_${{ matrix.target }}.exe
313
+ path : src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*.exe
314
+ if-no-files-found : error
308
315
- name : Upload Artifacts
309
316
if : matrix.target == 'aarch64-pc-windows-msvc'
310
317
uses : actions/upload-artifact@v3
@@ -320,22 +327,29 @@ jobs:
320
327
token : ${{ secrets.TOKEN }}
321
328
files : src-tauri/target/${{ matrix.target }}/release/bundle/msi/*.msi*
322
329
- name : Upload Release
323
- if : startsWith(github.ref, 'refs/tags') && matrix.target == 'aarch64 -pc-windows-msvc'
330
+ if : startsWith(github.ref, 'refs/tags') && ( matrix.target == 'x86_64 -pc-windows-msvc' || matrix.target == 'i686-pc-windows-msvc')
324
331
uses : softprops/action-gh-release@v1
325
332
with :
326
333
body_path : CHANGELOG
327
334
token : ${{ secrets.TOKEN }}
328
- files : src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*.exe*
329
- - name : Upload WinGet
330
- if : startsWith(github.ref, 'refs/tags') && matrix.target == 'x86_64-pc-windows-msvc'
331
- uses : vedantmgoyal2009/winget-releaser@v2
332
- with :
333
- identifier : Pylogmon.pot
334
- version : ${{needs.change-version-for-windows.outputs.version}}
335
- installers-regex : ' \x64_zh-CN.msi$'
335
+ files : src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*setup*
336
+ - name : Upload Release
337
+ if : startsWith(github.ref, 'refs/tags') && matrix.target == 'aarch64-pc-windows-msvc'
338
+ uses : softprops/action-gh-release@v1
339
+ with :
340
+ body_path : CHANGELOG
336
341
token : ${{ secrets.TOKEN }}
337
- fork-user : Pylogmon
338
- continue-on-error : true
342
+ files : src-tauri/target/${{ matrix.target }}/release/bundle/nsis/*setup*
343
+ # - name: Upload WinGet
344
+ # if: startsWith(github.ref, 'refs/tags') && matrix.target == 'x86_64-pc-windows-msvc'
345
+ # uses: vedantmgoyal2009/winget-releaser@v2
346
+ # with:
347
+ # identifier: Pylogmon.pot
348
+ # version: ${{needs.change-version-for-windows.outputs.version}}
349
+ # installers-regex: '\x64_zh-CN.msi$'
350
+ # token: ${{ secrets.TOKEN }}
351
+ # fork-user: Pylogmon
352
+ # continue-on-error: true
339
353
build-for-deepin :
340
354
needs : change-version
341
355
strategy :
0 commit comments