Skip to content

Publish Crate from Release #21

Publish Crate from Release

Publish Crate from Release #21

Workflow file for this run

name: Publish Crate from Release
on:
release:
types: [published]
env:
CARGO_TERM_COLOR: always
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose
- name: Publish
run: scripts/publish-all.sh --token ${{ env.CARGO_REGISTRY_TOKEN }} --verbose
env:
CARGO_REGISTRY_TOKEN: ${{ env.CARGO_REGISTRY_TOKEN }}