Skip to content

Commit

Permalink
💚 调整CI,测试文件打包
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Apr 17, 2024
1 parent 5828b80 commit d3d2c52
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Build Release(Dev)

on:
workflow_dispatch:
# push:
# tags:
# - 'v*.*.*'
push:
tags:
- 'v*.*.*'

jobs:
build:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d3d2c52

Please sign in to comment.