Skip to content

{"schema":"decodex/commit/1","summary":"Land chore: release 0.1.9","a… #8

{"schema":"decodex/commit/1","summary":"Land chore: release 0.1.9","a…

{"schema":"decodex/commit/1","summary":"Land chore: release 0.1.9","a… #8

Workflow file for this run

name: Release
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: read
jobs:
release:
name: Release
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Publish
uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b
with:
discussion_category_name: Announcements
generate_release_notes: true
publish-on-crates-io:
name: Publish on crates.io
runs-on: ubuntu-latest
steps:
- name: Fetch latest code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- name: Login
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish
run: cargo publish --locked