Skip to content

thub/workflows/ci.yml #9

thub/workflows/ci.yml

thub/workflows/ci.yml #9

Workflow file for this run

name: Publish
on:
push:
tags:
- "*"
jobs:
call-ci:
uses: ./.github/workflows/ci.yml
secrets: inherit
publish:
name: Publish
runs-on: ubuntu-latest
needs:
- call-ci
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: |
cargo publish \
--token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}