Skip to content

Bump version to 0.1.7 and fix trusted publishing token passthrough #4

Bump version to 0.1.7 and fix trusted publishing token passthrough

Bump version to 0.1.7 and fix trusted publishing token passthrough #4

Workflow file for this run

name: Publish to crates.io
on:
push:
tags: ["v*"]
env:
CARGO_TERM_COLOR: always
jobs:
publish:
runs-on: ubuntu-latest
environment: crates-io
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Authenticate with crates.io
id: crates-io-auth
uses: rust-lang/crates-io-auth-action@v1
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ steps.crates-io-auth.outputs.token }}