Skip to content

Update build.yml

Update build.yml #7

Workflow file for this run

name: 🔨 Build
on:
push:
branches: ["master"]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt-get update && sudo apt-get install -y musl-tools
- run: rustup target add x86_64-unknown-linux-musl
- run: cargo build --target x86_64-unknown-linux-musl --verbose --release
- uses: actions/upload-artifact@v4
with:
name: bookshelf-api
path: target/x86_64-unknown-linux-musl/release/bookshelf-api