ci: use directly boolean input (#1207)
This commit is contained in:
parent
a4e5b2a101
commit
bbddc94a72
4 changed files with 4 additions and 13 deletions
5
.github/workflows/linux.yml
vendored
5
.github/workflows/linux.yml
vendored
|
@ -4,11 +4,8 @@ on:
|
|||
workflow_dispatch:
|
||||
inputs:
|
||||
new_release:
|
||||
type: choice
|
||||
type: boolean
|
||||
description: Force new Release
|
||||
options:
|
||||
- no
|
||||
- yes
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
push:
|
||||
|
|
5
.github/workflows/macos.yml
vendored
5
.github/workflows/macos.yml
vendored
|
@ -4,11 +4,8 @@ on:
|
|||
workflow_dispatch:
|
||||
inputs:
|
||||
new_release:
|
||||
type: choice
|
||||
type: boolean
|
||||
description: Force new Release
|
||||
options:
|
||||
- no
|
||||
- yes
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
push:
|
||||
|
|
5
.github/workflows/windows.yml
vendored
5
.github/workflows/windows.yml
vendored
|
@ -4,11 +4,8 @@ on:
|
|||
workflow_dispatch:
|
||||
inputs:
|
||||
new_release:
|
||||
type: choice
|
||||
type: boolean
|
||||
description: Force new Release
|
||||
options:
|
||||
- no
|
||||
- yes
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
push:
|
||||
|
|
|
@ -19,7 +19,7 @@ if [[ "${LATEST_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+) ]]; then
|
|||
export SHOULD_BUILD="yes"
|
||||
|
||||
VSCODIUM_ASSETS="null"
|
||||
elif [[ "${NEW_RELEASE}" == "yes" ]]; then
|
||||
elif [[ "${NEW_RELEASE}" == "true" ]]; then
|
||||
echo "New release build"
|
||||
export SHOULD_BUILD="yes"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue