clean exit button in Tauri wrapper #21
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 Agentic Signal | |
| permissions: | |
| contents: write | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.md' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.md' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| platform: [windows-latest, macos-latest, ubuntu-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # Extract version from package.json | |
| - name: Get Package Version | |
| id: pkg_version | |
| shell: bash | |
| run: | | |
| VERSION=$(jq -r '.version' package.json) | |
| echo "VERSION=$VERSION" >> $GITHUB_ENV | |
| echo "VERSION=$VERSION" >> $GITHUB_OUTPUT | |
| # Install Bun | |
| - uses: oven-sh/setup-bun@v2 | |
| # Install root dependencies | |
| - name: Install root dependencies | |
| run: bun install | |
| # Install client dependencies | |
| - name: Install client dependencies | |
| run: cd client && bun install | |
| # Install Deno | |
| - uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v2.x | |
| # Custom: Build your backend for each platform | |
| - name: Build backend (Windows) | |
| if: matrix.platform == 'windows-latest' | |
| run: bun run build:windows | |
| - name: Build backend (macOS) | |
| if: matrix.platform == 'macos-latest' | |
| run: bun run build:macos | |
| - name: Install Linux build dependencies | |
| if: matrix.platform == 'ubuntu-latest' | |
| run: | | |
| sudo apt update | |
| sudo apt install libwebkit2gtk-4.1-dev \ | |
| build-essential \ | |
| curl \ | |
| wget \ | |
| file \ | |
| libxdo-dev \ | |
| libssl-dev \ | |
| libayatana-appindicator3-dev \ | |
| librsvg2-dev | |
| - name: Build backend (Linux) | |
| if: matrix.platform == 'ubuntu-latest' | |
| run: bun run build:linux | |
| # Official Tauri build & release upload | |
| - uses: tauri-apps/tauri-action@v0 | |
| with: | |
| tagName: v${{ steps.pkg_version.outputs.VERSION }} | |
| releaseName: Agentic Signal v${{ steps.pkg_version.outputs.VERSION }} | |
| releaseDraft: false | |
| prerelease: false | |
| projectPath: . | |
| includeDebug: false | |
| includeRelease: true | |
| includeUpdaterJson: true | |
| updaterJsonKeepUniversal: false | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Artifacts will be uploaded automatically by tauri-action to the release for all platforms. |