remove ubuntu workflow build
Some checks failed
Build & Release / build-windows (push) Has been cancelled
Some checks failed
Build & Release / build-windows (push) Has been cancelled
will add linux support in the future!
This commit is contained in:
parent
5a928b0b1b
commit
d35ea4444f
42
.github/workflows/build.yml
vendored
42
.github/workflows/build.yml
vendored
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user