Skip to content

Commit

Permalink
[CI] fix boolean variables
Browse files Browse the repository at this point in the history
The previous CI system (Appveyor) used `True` and `False` but the new one (Github Actions) uses `true` and `false`.
  • Loading branch information
ChristianBeer authored Dec 24, 2020
1 parent e847613 commit c9e922f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/deploy_to_bintray.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down

0 comments on commit c9e922f

Please sign in to comment.