Update cargo #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Crate | ||
on: | ||
workflow_dispatch: | ||
push: | ||
# Pattern matched against refs/tags | ||
tags: | ||
- "*" | ||
jobs: | ||
call-workflow-audit: | ||
uses: ./.github/workflows/audit.yml | ||
call-workflow-build: | ||
uses: ./.github/workflows/build.yml | ||
call-workflow-build-docs: | ||
uses: ./.github/workflows/build_docs.yml | ||
Check failure on line 16 in .github/workflows/publish.yml GitHub Actions / .github/workflows/publish.ymlInvalid workflow file
|
||
call-workflow-lint-and-test: | ||
uses: ./.github/workflows/lint_and_test.yml | ||
publish: | ||
name: Publish Crate | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
name: Checkout | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
- uses: katyo/publish-crates@v2 | ||
with: | ||
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
ignore-unpublished-changes: true |