Skip to content

Publish Crates

Publish Crates #3

Workflow file for this run

name: Publish Crates
on:
push:
tags:
- "v*.*.*" # Matches tags like v0.6.10 but also v0.6.10-alpha.5
jobs:
publish:
# Don't publish alpha releases
# if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: publish crates workspace
uses: jio-gl/publish-crates-workspace@v4
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}