cargo!!
Some checks failed
Build and push libstax and stax-cli to cargo registry / build (push) Failing after 2s
Some checks failed
Build and push libstax and stax-cli to cargo registry / build (push) Failing after 2s
This commit is contained in:
parent
6912507481
commit
1094eafa45
3 changed files with 22 additions and 3 deletions
18
.forgejo/workflows/publish-cli.yaml
Normal file
18
.forgejo/workflows/publish-cli.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: Build and push libstax and stax-cli to cargo registry
|
||||||
|
|
||||||
|
# Only on new tags
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "cli-*.*.*"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: wackbyte/rust-toolchain@trunk
|
||||||
|
with:
|
||||||
|
toolchain: nightly
|
||||||
|
- run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -313,7 +313,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "stax-cli"
|
name = "stax-cli"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"argh",
|
"argh",
|
||||||
"libstax",
|
"libstax",
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[package]
|
[package]
|
||||||
name = "stax-cli"
|
name = "stax-cli"
|
||||||
version = "0.1.0"
|
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = ["staxman"]
|
||||||
|
version = "0.1.1"
|
||||||
license = "AGPL-3.0-only"
|
license = "AGPL-3.0-only"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
@ -10,4 +11,4 @@ members = ["libstax"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
argh = "0.1.12"
|
argh = "0.1.12"
|
||||||
libstax = { path = "libstax", version = "*" }
|
libstax = { path = "libstax", registry = "staxman", version = "*" }
|
||||||
|
|
Loading…
Reference in a new issue