Repository navigation
feat: release CodexUI wallpaper manager #1
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: Build and publish desktop apps | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| name: ${{ matrix.name }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: Windows x64 | |
| os: windows-latest | |
| target: x86_64-pc-windows-msvc | |
| args: --target x86_64-pc-windows-msvc --bundles nsis,msi | |
| - name: macOS Apple Silicon | |
| os: macos-latest | |
| target: aarch64-apple-darwin | |
| args: --target aarch64-apple-darwin --bundles dmg,app | |
| - name: macOS Intel | |
| os: macos-latest | |
| target: x86_64-apple-darwin | |
| args: --target x86_64-apple-darwin --bundles dmg,app | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up PNPM | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| run_install: false | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Cache Rust build | |
| uses: swatinem/rust-cache@v2 | |
| with: | |
| workspaces: ./src-tauri -> target | |
| - name: Install frontend dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build and publish Tauri bundles | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| APPLE_SIGNING_IDENTITY: ${{ startsWith(matrix.os, 'macos') && '-' || '' }} | |
| with: | |
| tagName: ${{ github.ref_name }} | |
| releaseName: CodexUI ${{ github.ref_name }} | |
| releaseBody: Download the installer for your operating system from the assets below. | |
| releaseDraft: true | |
| prerelease: false | |
| generateReleaseNotes: true | |
| args: ${{ matrix.args }} |