From 3856b0e7bac6df3a206bd961048afa2959db312e Mon Sep 17 00:00:00 2001 From: suchitra Date: Thu, 7 Dec 2023 12:17:55 +0000 Subject: [PATCH] modifying batch file to work for main branch --- .github/workflows/main.yml | 2 +- build_robohelp_gh.bat | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 98025b553..12d0093f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: name: "RoboHelp" runs-on: windows-2019 env: - LANGUAGE: ${{ vars.LANGUAGE }} + LANGUAGE: ${{ vars.LANGUAGE_MAIN }} steps: - uses: aws-actions/configure-aws-credentials@v4 with: diff --git a/build_robohelp_gh.bat b/build_robohelp_gh.bat index fde6f5425..ac45d9a53 100644 --- a/build_robohelp_gh.bat +++ b/build_robohelp_gh.bat @@ -16,10 +16,10 @@ set ZIP_FILE=%ZIP_FILE% set basedir=%~dp0 :check_options -if %LANGUAGE%==EN-BETA ( +if %LANGUAGE%==EN ( set robohelpPreset="GMS2 Manual Responsive HTML5" goto finish_options -) else if %LANGUAGE%=="" ( +) else if %LANGUAGE_MAIN%==EN ( set robohelpPreset="GMS2 Manual Responsive" goto finish_options ) else if %LANGUAGE%==ES (