mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-16 06:13:23 -06:00
Verbosity option, disable by default
This commit is contained in:
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@@ -10,6 +10,10 @@ on:
|
|||||||
description: 'Fail fast strategy'
|
description: 'Fail fast strategy'
|
||||||
required: false
|
required: false
|
||||||
default: 'true'
|
default: 'true'
|
||||||
|
verbose:
|
||||||
|
description: 'Verbose output'
|
||||||
|
required: false
|
||||||
|
default: 'false'
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v*.*.*'
|
||||||
@@ -74,10 +78,10 @@ jobs:
|
|||||||
cat .cargo/config.github.toml >> .cargo/config.toml
|
cat .cargo/config.github.toml >> .cargo/config.toml
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose --release --target ${{ matrix.target }}
|
run: cargo build ${{ github.event.inputs.verbose == 'true' && '--verbose' || '' }} --release --target ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test ${{ github.event.inputs.verbose == 'true' && '--verbose' || '' }} --target ${{ matrix.target }}
|
||||||
|
|
||||||
- name: Export Release Version
|
- name: Export Release Version
|
||||||
run: echo "RELEASE_VERSION=$(grep '^version = ' Cargo.toml | sed 's/version = \"\(.*\)\"/\1/')" >> $GITHUB_ENV
|
run: echo "RELEASE_VERSION=$(grep '^version = ' Cargo.toml | sed 's/version = \"\(.*\)\"/\1/')" >> $GITHUB_ENV
|
||||||
|
|||||||
Reference in New Issue
Block a user