forge_automate/.forgejo/workflows/release.yaml
Guilhem Lavaux 5caa94f71d
All checks were successful
Check code passes formatting and lint rules / cargo fmt (push) Successful in 1m36s
Check code passes formatting and lint rules / check (push) Successful in 1m56s
fix: fix the workflow to only run on main branch
2025-06-30 08:11:43 +02:00

17 lines
426 B
YAML

name: Build and create binary artifact
on:
push:
branches:
- main
jobs:
release:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: https://git.aquila-consortium.org/guilhem_lavaux/setup-rust-toolchain-forge@v1.12.0-forge
- run: cargo build --release
- uses: actions/upload-artifact@v3
with:
name: binary
path: target/release/forgejo_automate