Files
weight_tracker/.gitea/workflows/ci.yaml
Lukas Wölfer bb600edd00
All checks were successful
Rust / build_and_test (push) Successful in 1m19s
chore: added CI
2026-04-08 22:52:08 +02:00

39 lines
884 B
YAML

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build_release:
runs-on: ubuntu-latest
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_SERVER: ${{ secrets.GITEA_SERVER }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- name: Build release
run: |
cargo build --release
- name: Generate a changelog
uses: orhun/git-cliff-action@v4
id: git-cliff
with:
config: cliff.toml
args: --verbose --latest
github_token: ""
env:
OUTPUT: CHANGELOG.md
- uses: akkuman/gitea-release-action@v1
with:
files: |-
target/release/weight_tracker
body: Release build for weight_tracker