Skip to content

Release

Release #9

Workflow file for this run

name: Release
on:
create:
tags:
- v*
jobs:
release:
# Run `cargo check` first to ensure that the pushed code at least compiles.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v1
- name: Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
uses: actions-rs/cargo@v1
with:
command: publish