Skip to content

fix(whiskerify): don't only search for hex codes with # #11

fix(whiskerify): don't only search for hex codes with #

fix(whiskerify): don't only search for hex codes with # #11

name: Release
on:
workflow_dispatch:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
outputs:
release_created: ${{ steps.release.outputs.release_created }}
check:
if: ${{ needs.release-please.outputs.release_created }}
uses: ./.github/workflows/check.yml
publish:
if: ${{ needs.release-please.outputs.release_created }}
needs: [check]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Publish
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}