cargo!!
Build and push libstax and stax-cli to cargo registry / build (push) Failing after 2s Details

This commit is contained in:
Hamcha 2024-04-13 02:12:34 +02:00
parent 6912507481
commit 1094eafa45
Signed by: hamcha
GPG Key ID: 1669C533B8CF6D89
3 changed files with 22 additions and 3 deletions

View 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
View File

@ -313,7 +313,7 @@ dependencies = [
[[package]]
name = "stax-cli"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"argh",
"libstax",

View File

@ -1,7 +1,8 @@
[package]
name = "stax-cli"
version = "0.1.0"
edition = "2021"
publish = ["staxman"]
version = "0.1.1"
license = "AGPL-3.0-only"
[workspace]
@ -10,4 +11,4 @@ members = ["libstax"]
[dependencies]
tokio = { version = "1", features = ["full"] }
argh = "0.1.12"
libstax = { path = "libstax", version = "*" }
libstax = { path = "libstax", registry = "staxman", version = "*" }