Skip to content

build: bump version to 2.2.0 #19

build: bump version to 2.2.0

build: bump version to 2.2.0 #19

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags: ['*']
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Rust
id: rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Restore cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-${{ steps.rust.outputs.rustc_hash }}-${{ hashFiles('Cargo.toml') }}
- name: Publish
uses: actions-rs/cargo@v1
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
args: --all-features
command: publish
- name: Create release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true