From d35ea4444fdeccd7ca5f638b8d9ff3093306f28e Mon Sep 17 00:00:00 2001 From: bits Date: Sun, 29 Mar 2026 22:20:36 +0300 Subject: [PATCH] remove ubuntu workflow build will add linux support in the future! --- .github/workflows/build.yml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e69de29..19a0ce1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -0,0 +1,42 @@ +name: Build & Release + +on: + push: + branches: + - main + +jobs: + build-windows: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + + - uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-pc-windows-msvc + + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + src-tauri/target + key: windows-cargo-${{ hashFiles('**/Cargo.lock') }} + + - run: npm install + + - uses: tauri-apps/tauri-action@v0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} + CARGO_BUILD_JOBS: "2" + with: + tagName: ${{ github.ref_name }} + releaseName: RLidentity ${{ github.ref_name }} + releaseBody: New release + releaseDraft: false