Skip to content

Add workflow to publish crate #1

Add workflow to publish crate

Add workflow to publish crate #1

Workflow file for this run

name: Publish Crate
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
publish:
steps:

Check failure on line 13 in .github/workflows/cargo-publish.yml

View workflow run for this annotation

GitHub Actions / Publish Crate

Invalid workflow file

The workflow is not valid. .github/workflows/cargo-publish.yml (Line: 13, Col: 5): Required property is missing: runs-on
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
dry-run: ${{ github.event_name != 'push' }}
ignore-unpublished-changes: true