ci: 修复在Linux环境下缺失Tauri所需的系统依赖 #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Web发布 | |
| on: | |
| push: | |
| branches: | |
| - web | |
| permissions: | |
| contents: read | |
| jobs: | |
| app-test: | |
| name: 应用测试 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/initialize-project | |
| - name: 应用测试 | |
| run: bun run test | |
| release: | |
| name: 发布 | |
| needs: app-test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/initialize-project | |
| - name: 构建 | |
| run: bun run build | |
| - name: 发布 | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| wranglerVersion: latest | |
| packageManager: bun | |
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} |