Skip to content

Release: Rust

Release: Rust #2

Workflow file for this run

---
name: "Release: Rust"
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ainu-utils
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Publish package rust
if: ${{ !contains(github.ref, 'rc') }}
run: cargo publish --token ${CRATES_TOKEN}