set bundle dmg ignore ci to false in release workflow #15
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: "publish" | |
| on: | |
| push: | |
| branches: | |
| - release | |
| workflow_dispatch: | |
| jobs: | |
| publish-tauri: | |
| permissions: | |
| contents: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - platform: "tenki-macos-latest-mini" # for Arm based macs (M1 and above). Can also be "macos-latest" runner. | |
| args: "--target aarch64-apple-darwin" | |
| - platform: "tenki-macos-latest-mini" # for Intel based macs. Can also be "macos-latest" runner. | |
| args: "--target x86_64-apple-darwin" | |
| - platform: "tenki-standard-autoscale" # for Tauri v1 you could replace this with ubuntu-20.04. Can also be "ubuntu-22.04" runner. | |
| args: "" | |
| - platform: "windows-latest" | |
| args: "" | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: setup node | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: lts/* | |
| - name: setup bun | |
| uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # v2.1.2 | |
| with: | |
| bun-version: latest | |
| - name: install Rust stable | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. | |
| targets: ${{ matrix.platform == 'tenki-macos-latest-mini' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} # or matrix.platform == 'macos-latest' | |
| - name: install dependencies (ubuntu only) | |
| if: matrix.platform == 'tenki-standard-autoscale' # or 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf | |
| - name: install frontend dependencies | |
| run: bun install | |
| - uses: tauri-apps/tauri-action@73fb865345c54760d875b94642314f8c0c894afa # action-v0.6.1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| TAURI_BUNDLER_DMG_IGNORE_CI: false | |
| with: | |
| tagName: v__VERSION__ | |
| releaseName: "CodeQuill v__VERSION__" | |
| releaseBody: "See the assets to download this version and install." | |
| releaseDraft: true | |
| prerelease: false | |
| args: ${{ matrix.args }} |