1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-18 20:09:37 +00:00
tts-rs/.github/workflows/release.yml

22 lines
428 B
YAML

name: Release
on:
push:
tags:
- "v*"
jobs:
publish:
name: Publish
runs-on: ubuntu-22.04
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y libspeechd-dev
cargo login $CARGO_TOKEN
rustup toolchain install stable
cargo publish