From 6532bc5b11a85fa37ca10360dba2bcffa8e92ebb Mon Sep 17 00:00:00 2001 From: RanXom Date: Sat, 13 Jun 2026 20:41:11 +0530 Subject: fix close button not working and create workflow for gui --- .github/workflows/release-gui.yml | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/release-gui.yml (limited to '.github/workflows') diff --git a/.github/workflows/release-gui.yml b/.github/workflows/release-gui.yml new file mode 100644 index 0000000..4941019 --- /dev/null +++ b/.github/workflows/release-gui.yml @@ -0,0 +1,50 @@ +name: Release Desktop App + +on: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + release: + strategy: + fail-fast: false + matrix: + platform: [macos-latest, ubuntu-22.04, windows-latest] + + runs-on: ${{ matrix.platform }} + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + + - name: Install Tauri dependencies (Ubuntu only) + 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 + + - name: Install Frontend Dependencies + run: npm install + working-directory: ./desktop + + - name: Build and Release Tauri App + uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tagName: ${{ github.ref_name }} + releaseName: 'Pomoru ${{ github.ref_name }}' + releaseDraft: true + prerelease: false + projectPath: './desktop' -- cgit v1.2.3