[CI] fix boolean variables

The previous CI system (Appveyor) used `True` and `False` but the new one (Github Actions) uses `true` and `false`.
This commit is contained in:
Christian Beer 2020-12-24 20:32:02 +01:00 committed by GitHub
parent e84761358d
commit c9e922f924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -10,11 +10,11 @@ set git_rev=%GITHUB_SHA:~0,8%
set pkg_version=custom_%build_date%_!git_rev!
set pkg_version_desc=Custom build created on %build_date%
if not defined GITHUB_ACTIONS (
set GITHUB_ACTIONS=False
set GITHUB_ACTIONS=false
)
set CI_RUN=%GITHUB_ACTIONS%
if "%CI_RUN%" == "True" (
if "%CI_RUN%" == "true" (
if "%GITHUB_EVENT_NAME%" == "pull_request" (
set pkg_name=pull-requests
set git_rev=%PULL_REQUEST_SHA:~0,8%