mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-01 02:29:36 +00:00
22 lines
428 B
YAML
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@v3
|
|
- run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libspeechd-dev
|
|
cargo login $CARGO_TOKEN
|
|
rustup toolchain install stable
|
|
cargo publish
|