style: π Format Mardown files #31
Workflow file for this run
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
# 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
|
||
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 |