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:
parent
9ecabfb778
commit
5cf74a49ce
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
@ -2,20 +2,12 @@ name: Build & Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
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 }}
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -26,13 +18,15 @@ jobs:
|
||||
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.target }}
|
||||
targets: x86_64-pc-windows-msvc
|
||||
|
||||
- name: Install Linux dependencies
|
||||
if: matrix.os == 'ubuntu-22.04'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
src-tauri/target
|
||||
key: windows-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- run: npm install
|
||||
|
||||
@ -40,9 +34,9 @@ jobs:
|
||||
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 }}
|
||||
CARGO_BUILD_JOBS: "2"
|
||||
with:
|
||||
tagName: ${{ github.ref_name }}
|
||||
releaseName: RLidentity ${{ github.ref_name }}
|
||||
releaseBody: ${{ github.ref_name }}
|
||||
releaseBody: New release
|
||||
releaseDraft: false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user