Remove ubuntu in build workflow

removed it because it would crash, ill work on fixing this when EAC is
implemented..
This commit is contained in:
bits 2026-03-29 22:18:00 +03:00
parent 9ecabfb778
commit 5cf74a49ce

View File

@ -2,20 +2,12 @@ name: Build & Release
on: on:
push: push:
tags: branches:
- 'v*' - main
jobs: jobs:
build: build-windows:
strategy: runs-on: windows-latest
matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -26,13 +18,15 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
with: with:
targets: ${{ matrix.target }} targets: x86_64-pc-windows-msvc
- name: Install Linux dependencies - uses: actions/cache@v4
if: matrix.os == 'ubuntu-22.04' with:
run: | path: |
sudo apt-get update ~/.cargo/registry
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev ~/.cargo/git
src-tauri/target
key: windows-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: npm install - run: npm install
@ -40,9 +34,9 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} CARGO_BUILD_JOBS: "2"
with: with:
tagName: ${{ github.ref_name }} tagName: ${{ github.ref_name }}
releaseName: RLidentity ${{ github.ref_name }} releaseName: RLidentity ${{ github.ref_name }}
releaseBody: ${{ github.ref_name }} releaseBody: New release
releaseDraft: false releaseDraft: false