Skip to content

fix(manifest): add missing cargo manifest fields #46

fix(manifest): add missing cargo manifest fields

fix(manifest): add missing cargo manifest fields #46

Workflow file for this run

on:
push:
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
created: ${{ steps.release.outputs.releases_created }} # if any releases are created
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
needs: release-please
if: needs.release-please.outputs.created
environment: crates.io
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal
- uses: swatinem/rust-cache@v2
- name: Install cargo-workspaces
uses: taiki-e/install-action@v2
with:
tool: cargo-workspaces
- name: Publish
run: cargo workspaces publish --from-git --token "${{ secrets.CARGO_REGISTRY_TOKEN }}" --yes