tryi fixing ci

This commit is contained in:
Andras Schmelczer 2025-08-30 14:33:04 +01:00
parent ac03d679a5
commit 4d45718f27
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 7 additions and 2 deletions

View file

@ -27,6 +27,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.89.0"
components: clippy, rustfmt
- name: Setup rust
run: |

View file

@ -27,6 +27,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.89.0"
components: clippy, rustfmt
- name: Setup rust
run: |

View file

@ -3,6 +3,8 @@ name: Publish Obsidian plugin
on:
push:
tags: ["*"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
@ -30,11 +32,12 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.89.0"
components: clippy, rustfmt
- name: Install cross-compilation tools
run: |
sudo apt update
sudo apt install -y gcc-aarch64-linux-gnu musl-tools gcc-mingw-w64-x86-64
apt update
apt install -y gcc-aarch64-linux-gnu musl-tools gcc-mingw-w64-x86-64
- name: Build Linux and Windows binaries
run: ./scripts/build-sync-server-binaries.sh