Skip to content

Added CI/CD with cargo-dist. #1

Added CI/CD with cargo-dist.

Added CI/CD with cargo-dist. #1

Workflow file for this run

name: Publish Cargo
on:
push:
tags:
- "v*.*.*"
jobs:
publish-cargo:
name: Publishing to Cargo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CARGO_API_KEY }} --allow-dirty