mirror of https://github.com/ndarilek/tts-rs.git
Build MacOS releases and explicitly specify task dependencies.
This commit is contained in:
parent
d95eed63c5
commit
1d7018a558
|
@ -6,6 +6,7 @@ on:
|
||||||
- "v*"
|
- "v*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build_linux:
|
build_linux:
|
||||||
name: Build Linux
|
name: Build Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -27,9 +28,18 @@ jobs:
|
||||||
choco install -y llvm
|
choco install -y llvm
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
|
build_macos:
|
||||||
|
name: Build MacOS
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: |
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
publish_winrt_bindings:
|
publish_winrt_bindings:
|
||||||
name: Publish winrt_bindings
|
name: Publish winrt_bindings
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
needs: [build_windows]
|
||||||
env:
|
env:
|
||||||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -44,6 +54,7 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: [build_linux, build_windows, build_macos]
|
||||||
env:
|
env:
|
||||||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue