This commit is contained in:
Andras Schmelczer 2025-08-30 21:50:02 +01:00
commit 10893442f8
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 3 additions and 5 deletions

View file

@ -3,8 +3,6 @@ name: Publish Obsidian plugin
on: on:
push: push:
tags: ["*"] tags: ["*"]
pull_request:
branches: ["main"]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -27,7 +25,7 @@ jobs:
cd frontend cd frontend
npm ci npm ci
npm run build npm run build
- name: Setup Rust toolchain - name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
@ -37,8 +35,8 @@ jobs:
- name: Install cross-compilation tools - name: Install cross-compilation tools
run: | run: |
apt update apt update
apt install -y gcc-aarch64-linux-gnu musl-tools gcc-mingw-w64-x86-64 apt install -y gcc-aarch64-linux-gnu musl-tools gcc-mingw-w64-x86-64
- name: Build Linux and Windows binaries - name: Build Linux and Windows binaries
run: ./scripts/build-sync-server-binaries.sh run: ./scripts/build-sync-server-binaries.sh