Fix python side of tests #6
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
--- | |
name: "Release: Rust" | |
env: | |
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} | |
on: | |
push: | |
tags: | |
- v* | |
defaults: | |
run: | |
working-directory: ainu-utils | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
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} |