Skip to content

style: πŸ’„ Format Mardown files #31

style: πŸ’„ Format Mardown files

style: πŸ’„ Format Mardown files #31

Workflow file for this run

# SPDX-FileCopyrightText: 2023 The WAG development team
#
# SPDX-License-Identifier: CC0-1.0
name: Create new release
on:
push:
tag:
- "v**"
jobs:
github:
name: Create a Github release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install typos
uses: taiki-e/install-action@typos
- name: Install git-cliff
uses: taiki-e/install-action@git-cliff
- name: Generate changelog
run: git-cliff -o
- name: Release project
uses: softprops/action-gh-release@v2
with:
body_path: CHANGELOG.md
crates.io:

Check failure on line 31 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Create new release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 31, Col: 3): The identifier 'crates.io' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
name: Publish to crates.io
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Add caching
uses: Swatinem/rust-cache@v2
- name: Publish the crate
run: |-
cargo publish \
--token ${{ secrets.CARGO_REGISTRY_TOKEN }} \
--all-features