diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55821cd..47f0490 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,9 +2,9 @@ name: Build Release(Dev) on: workflow_dispatch: -# push: -# tags: -# - 'v*.*.*' + push: + tags: + - 'v*.*.*' jobs: build: @@ -47,20 +47,15 @@ jobs: - name: 打包 run: flutter build windows - - name: 压缩 - shell: pwsh - run: | - Compress-Archive -Path build/windows/x64/runner/Release -DestinationPath BangumiToday.zip - - name: 上传打包文件 uses: actions/upload-artifact@v4 with: name: BangumiToday - path: BangumiToday.zip + path: build/windows/x64/runner/Release + + - name: 打包msix + run: dart run msix:create --sign-msix false -# - name: 打包msix -# run: dart run msix:create --sign-msix false -# # - name: SignPath 签名 # if: env.TOKEN != '' # shell: pwsh