File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ if not "%TOOLCHAIN:vs-=%"=="%TOOLCHAIN%" set HUNTER_BINARY_DIR=C:\__BIN
4545:: Add msbuild to PATH (for vs-14 toolchain, GitHub windows-2016 runner doesn't have VS 2015)
4646if " %TOOLCHAIN:~0 ,5 % " == " vs-14" set PATH = C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin;%PATH%
4747
48- if " %BRANCH_NAME% " == " master" (
48+ if " %BRANCH_NAME% " == " master" if not " %GITHUB_USER_PASSWORD% " == " " (
4949 python jenkins.py --upload
5050) else (
5151 python jenkins.py
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ if [[ "$TOOLCHAIN" =~ "osx-11-0" ]]; then
3535fi
3636
3737# Run build script
38- if [[ " $BRANCH_NAME " == " master" ]]; then
38+ if [[ " $BRANCH_NAME " == " master" && ! -z " $GITHUB_USER_PASSWORD " ]]; then
3939 python jenkins.py --upload
4040else
4141 python jenkins.py
You can’t perform that action at this time.
0 commit comments