mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-09-20 22:09:37 +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:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --all-features --examples
|
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
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: fmt
|
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
|
- uses: actions-rs/clippy-check@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
args: --all-features
|
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:
|
check_web:
|
||||||
name: Check Web
|
name: Check Web
|
||||||
|
@ -88,4 +106,4 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libspeechd-dev
|
sudo apt-get install -y libspeechd-dev
|
||||||
cargo login $CARGO_TOKEN
|
cargo login $CARGO_TOKEN
|
||||||
cargo publish
|
cargo publish --no-default-features
|
||||||
|
|
Loading…
Reference in New Issue
Block a user