release action, convert to library crate, bump version to 0.1.0
Some checks failed
Test the running changes / Test (push) Successful in 35s
Test the running changes / Test (pull_request) Failing after 2s

This commit is contained in:
2025-12-22 21:45:28 +02:00
parent 17185d4420
commit 852eddfebf
9 changed files with 36 additions and 139 deletions

View File

@@ -0,0 +1,19 @@
name: Create release package
on:
push:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
release:
name: Release
runs-on: rust-latest
steps:
- run: git clone https://git.jlux.dev/${{ gitea.repository }} . && git checkout ${{ gitea.ref_name }}
- run: cargo build --verbose --release
- run: export CARGO_REGISTRIES_GITEA_TOKEN=${{ secrets.CARGO_BEARER_TOKEN }}
- run: cargo publish --registry gitea