chore(release): prep for v0.8.0 #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish release | |
on: | |
push: | |
tags: | |
- v*.*.* | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }} | |
jobs: | |
github-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Generate changelog | |
id: changelog | |
uses: orhun/[email protected] | |
with: | |
config: cliff.toml | |
args: --verbose -l -s all | |
env: | |
OUTPUT: CHANGES.md | |
- name: Publish release | |
uses: svenstaro/[email protected] | |
with: | |
file: LICENSE | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref_name }} | |
body: ${{ needs.changelog.outputs.content }} | |
crates-io: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# - name: Run tests | |
# run: cargo test --verbose | |
- name: Publish | |
run: cargo publish |