Skip to content

chore: Release

chore: Release #16

Workflow file for this run

name: Publish crates

Check failure on line 1 in .github/workflows/publish-crates.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-crates.yaml

Invalid workflow file

(Line: 19, Col: 14): Unrecognized named-value: 'gihub'. Located at position 1 within expression: gihub.ref_name, (Line: 38, Col: 14): Unrecognized named-value: 'gihub'. Located at position 1 within expression: gihub.ref_name
on:
release:
types: [published]
jobs:
publish-simd-json-derive-int:
name: Publish simd-json-derive-int
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: ensure we are not in detached-head state
run: git switch -c v${{ gihub.ref_name }}
- name: Publish simd-json-derive-int to crates.io
uses: katyo/publish-crates@v1
with:
path: './simd-json-derive-int'
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
publish-simd-json-derive:
name: Publish simd-json-derive
needs: publish-simd-json-derive-int
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: ensure we are not in detached-head state
run: git switch -c v${{ gihub.ref_name }}
- name: Publish simd-json-derive to crates.io
uses: katyo/publish-crates@v1
with:
path: './Cargo.toml'
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}