18 lines
381 B
YAML
18 lines
381 B
YAML
|
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 }}
|