feat: UX overhaul — add project flow, breadcrumbs, status bar, keyboa… #12
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: Release | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - platform: macos-latest | |
| target: aarch64-apple-darwin | |
| label: macOS-arm64 | |
| - platform: macos-latest | |
| target: x86_64-apple-darwin | |
| label: macOS-x64 | |
| - platform: ubuntu-22.04 | |
| target: x86_64-unknown-linux-gnu | |
| label: Linux-x64 | |
| - platform: windows-latest | |
| target: x86_64-pc-windows-msvc | |
| label: Windows-x64 | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: ${{ matrix.target }} | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install Linux dependencies | |
| if: matrix.platform == 'ubuntu-22.04' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev \ | |
| libappindicator3-dev \ | |
| librsvg2-dev \ | |
| patchelf \ | |
| libgtk-3-dev \ | |
| libsoup-3.0-dev \ | |
| libjavascriptcoregtk-4.1-dev | |
| - name: Set version from tag | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| shell: bash | |
| run: | | |
| VERSION="${GITHUB_REF#refs/tags/v}" | |
| echo "Setting version to $VERSION" | |
| sed -i.bak "s/^version = \".*\"/version = \"$VERSION\"/" Cargo.toml | |
| for f in crates/*/Cargo.toml; do | |
| sed -i.bak "s/^version = \".*\"/version = \"$VERSION\"/" "$f" 2>/dev/null || true | |
| done | |
| rm -f Cargo.toml.bak crates/*/Cargo.toml.bak | |
| - name: Install frontend dependencies | |
| working-directory: crates/tauri-app/frontend | |
| run: npm ci --ignore-scripts || npm install | |
| - name: Install agent sidecar dependencies | |
| working-directory: crates/tauri-app/agent-sidecar | |
| run: npm ci --ignore-scripts || npm install | |
| - name: Build frontend | |
| working-directory: crates/tauri-app/frontend | |
| run: npm run build | |
| - name: Build Tauri app | |
| uses: tauri-apps/tauri-action@v0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} | |
| TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} | |
| with: | |
| projectPath: crates/tauri-app | |
| args: --target ${{ matrix.target }} | |
| tagName: ${{ github.ref_name }} | |
| releaseName: ${{ github.ref_name }} | |
| releaseBody: "" | |
| releaseDraft: true | |
| prerelease: false | |
| includeUpdaterJson: true |