Skip to content

Merge pull request #200 from tkrs/tkrs-patch-1 #3

Merge pull request #200 from tkrs/tkrs-patch-1

Merge pull request #200 from tkrs/tkrs-patch-1 #3

on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
environment: crates-io
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: rust
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- name: Install rust toolchain stable
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-gnu
if: ${{ steps.release.outputs.release_created }}
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
if: ${{ steps.release.outputs.release_created }}