mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 07:29:38 +00:00
Fix release workflow to not build default features.
This commit is contained in:
parent
539003205e
commit
3366f93e2b
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
@ -27,14 +27,32 @@ jobs:
|
|||
with:
|
||||
command: check
|
||||
args: --all-features --examples
|
||||
if: ${{ runner.os != 'Linux' }}
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: check
|
||||
args: --no-default-features --examples
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
args: --all --check
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --all --no-default-features --check
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all-features
|
||||
if: ${{ runner.os != 'Linux' }}
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --no-default-features
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
|
||||
check_web:
|
||||
name: Check Web
|
||||
|
@ -88,4 +106,4 @@ jobs:
|
|||
sudo apt-get update
|
||||
sudo apt-get install -y libspeechd-dev
|
||||
cargo login $CARGO_TOKEN
|
||||
cargo publish
|
||||
cargo publish --no-default-features
|
||||
|
|
Loading…
Reference in New Issue
Block a user