This commit is contained in:
Liri Bell 2026-02-17 02:51:08 +07:00
parent a7ae4cfff7
commit 450547be1b
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,22 @@
name: Publish Crate
on:
push:
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Publish to Forgejo
run: |
cargo login --registry forgejo ${{ secrets.CARGO_TOKEN }}
cargo publish --registry forgejo

2
Cargo.lock generated
View file

@ -4,4 +4,4 @@ version = 4
[[package]] [[package]]
name = "demolib" name = "demolib"
version = "0.1.0" version = "0.1.1"