mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
add input with-suggested-libs for build command
This commit is contained in:
parent
f680731f9d
commit
9a53ef3498
11
.github/workflows/build-unix.yml
vendored
11
.github/workflows/build-unix.yml
vendored
@ -46,6 +46,10 @@ on:
|
|||||||
description: Prefer pre-built binaries (reduce build time)
|
description: Prefer pre-built binaries (reduce build time)
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
with-suggested-libs:
|
||||||
|
description: Build with suggested libs
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
debug:
|
debug:
|
||||||
description: Show full build logs
|
description: Show full build logs
|
||||||
type: boolean
|
type: boolean
|
||||||
@ -86,6 +90,10 @@ on:
|
|||||||
description: Prefer pre-built binaries (reduce build time)
|
description: Prefer pre-built binaries (reduce build time)
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
with-suggested-libs:
|
||||||
|
description: Include suggested libs
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
debug:
|
debug:
|
||||||
description: Show full build logs
|
description: Show full build logs
|
||||||
type: boolean
|
type: boolean
|
||||||
@ -157,6 +165,9 @@ jobs:
|
|||||||
if [ ${{ inputs.prefer-pre-built }} == true ]; then
|
if [ ${{ inputs.prefer-pre-built }} == true ]; then
|
||||||
DOWN_CMD="$DOWN_CMD --prefer-pre-built"
|
DOWN_CMD="$DOWN_CMD --prefer-pre-built"
|
||||||
fi
|
fi
|
||||||
|
if [ ${{ inputs.with-suggested-libs }} == true ]; then
|
||||||
|
BUILD_CMD="$BUILD_CMD --with-suggested-libs"
|
||||||
|
fi
|
||||||
if [ ${{ inputs.build-cli }} == true ]; then
|
if [ ${{ inputs.build-cli }} == true ]; then
|
||||||
BUILD_CMD="$BUILD_CMD --build-cli"
|
BUILD_CMD="$BUILD_CMD --build-cli"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user