chore: Add cliff to release workflow (#3)
All checks were successful
Rust / build_and_test (push) Successful in 29s

This commit is contained in:
2026-01-18 00:36:52 +01:00
parent 215c355f6f
commit 9736adf7b2

View File

@@ -17,7 +17,8 @@ jobs:
GITEA_SERVER: ${{ secrets.GITEA_SERVER }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: ''
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
@@ -25,7 +26,16 @@ jobs:
- 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 --unreleased
env:
OUTPUT: CHANGELOG.md
- uses: akkuman/gitea-release-action@v1
with:
files: |-
target/release/teachertracker-rs
target/release/teachertracker-rs
body: ${{ steps.git-cliff.outputs.changelog }}