jixel 0.2.2

Tiny JPEG XL encoder
Documentation
name: Create Cargo Release

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

on:
  push:
    tags:
      - '[0-9]*'

jobs:
  build_and_publish:
    if: ${{ !startsWith(github.ref_name, 'py') }}
    name: Build
    runs-on: ubuntu-latest
    environment: Cargo
    steps:
      - uses: actions/checkout@v6
      - uses: actions-rust-lang/setup-rust-toolchain@v1
      - name: Make a release
        env:
          CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
        run: cargo publish --manifest-path Cargo.toml