parent
fa266814a6
commit
28d24fc11a
1 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,16 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
logLevel:
|
||||||
|
description: "Log level"
|
||||||
|
required: true
|
||||||
|
default: "warning"
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- info
|
||||||
|
- warning
|
||||||
|
- debug
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -24,6 +35,7 @@ jobs:
|
||||||
run: uv pip install httpx
|
run: uv pip install httpx
|
||||||
|
|
||||||
- name: Echo env
|
- name: Echo env
|
||||||
|
if: ${{ inputs.logLevel }}
|
||||||
run: |
|
run: |
|
||||||
echo '${{ toJSON(env) }}'
|
echo '${{ toJSON(env) }}'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue