ci: fix musl build by installing musl-tools in release workflow

This commit is contained in:
rustmailer
2025-07-18 11:50:22 +08:00
parent 009be202c3
commit 7c05bb85b3
+2 -2
View File
@@ -50,9 +50,9 @@ jobs:
pnpm install
pnpm run build
- name: Add MUSL target (if needed)
- name: Install musl-tools (Linux musl only)
if: matrix.target == 'x86_64-unknown-linux-musl'
run: rustup target add x86_64-unknown-linux-musl
run: sudo apt-get update && sudo apt-get install -y musl-tools
- name: Build Rust backend
run: cargo build --release --target=${{ matrix.target }}