ci: use directly boolean input ()

This commit is contained in:
Baptiste Augrain 2022-08-17 06:23:19 +02:00 committed by GitHub
parent a4e5b2a101
commit bbddc94a72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 13 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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"