Skip to content

Commit 277bc46

Browse files
committed
ci(build): 更新构建工作流配置
更新了 .github/workflows/build.yml 文件,以优化构建过程。
1 parent 7fbf2a2 commit 277bc46

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,18 @@ jobs:
5151
- name: Install frontend dependencies
5252
run: pnpm install --frozen-lockfile
5353

54+
- name: Rust target (macOS universal)
55+
if: matrix.platform == 'macos-latest'
56+
run: rustup target add aarch64-apple-darwin x86_64-apple-darwin
57+
5458
- name: Build the app
5559
uses: tauri-apps/tauri-action@v0
5660
env:
5761
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5862
with:
63+
tagName: ${{ github.ref_name }}
64+
releaseName: 'gat ${{ github.ref_name }}'
65+
releaseBody: 'See the assets to download and install this version.'
66+
releaseDraft: true
67+
prerelease: false
5968
args: ${{ matrix.args }}

0 commit comments

Comments
 (0)