1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 07:19:36 +00:00

Publish winrt_bindings from a Windows build server.

This commit is contained in:
Nolan Darilek 2020-06-17 18:00:14 -05:00
parent 251128f917
commit c2e3a41b2b

View File

@ -25,6 +25,19 @@ jobs:
choco install -y llvm
cargo build --release
publish_winrt_bindings:
name: Publish winrt_bindings
runs-on: windows-latest
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
steps:
- uses: actions/checkout@v2
- run: |
cargo login $CARGO_TOKEN
cd winrt_bindings
cargo package
cargo publish
publish:
name: Publish
runs-on: ubuntu-latest
@ -36,7 +49,4 @@ jobs:
sudo apt-get update
sudo apt-get install -y libspeechd-dev
cargo login $CARGO_TOKEN
cd winrt_bindings
cargo publish --no-verify
cd ..
cargo publish