From bff7251499cf17a9a38395b60f2c8bb31d636838 Mon Sep 17 00:00:00 2001 From: Ruslan Konviser Date: Sun, 8 Sep 2024 21:18:36 +0200 Subject: [PATCH] chore: fix desktop apps builds for Windows --- .github/workflows/desktop-server-api.apps.yml | 66 ++++++++++++++++++- .github/workflows/desktop-server-web.apps.yml | 64 ++++++++++++++++++ .github/workflows/desktop.apps.yml | 66 ++++++++++++++++++- 3 files changed, 194 insertions(+), 2 deletions(-) diff --git a/.github/workflows/desktop-server-api.apps.yml b/.github/workflows/desktop-server-api.apps.yml index 58bfab1f8..afe85a1d9 100644 --- a/.github/workflows/desktop-server-api.apps.yml +++ b/.github/workflows/desktop-server-api.apps.yml @@ -27,7 +27,7 @@ jobs: ref: master - name: Install Node.js, NPM and Yarn - uses: buildjet/setup-node@v3 + uses: buildjet/setup-node@v4 with: node-version: '20.11.1' cache: 'yarn' @@ -267,6 +267,10 @@ jobs: ChocolateyInstall: '' ChromeWebDriver: '' COBERTURA_HOME: '' + # COMPUTERNAME: '' + # COMSPEC: '' + # CONDA: '' + # DEPLOYMENT_BASEPATH: '' SBT_HOME: '' SELENIUM_JAR_PATH: '' STATS_BLT: '' @@ -287,10 +291,49 @@ jobs: ANDROID_NDK_LATEST_HOME: '' ANDROID_NDK_ROOT: '' ANDROID_SDK_ROOT: '' + # GITHUB_ACTION: '' + # GITHUB_ACTIONS: '' + # GITHUB_ACTION_REF: '' + # GITHUB_ACTION_REPOSITORY: '' + # GITHUB_ACTOR: '' + # GITHUB_ACTOR_ID: '' + # GITHUB_API_URL: '' + # GITHUB_BASE_REF: '' + # GITHUB_ENV: '' + # GITHUB_EVENT_NAME: '' + # GITHUB_EVENT_PATH: '' + # GITHUB_GRAPHQL_URL: '' + # GITHUB_HEAD_REF: '' + # GITHUB_JOB: '' + # GITHUB_OUTPUT: '' + # GITHUB_PATH: '' + # GITHUB_REF: '' + # GITHUB_REF_NAME: '' + # GITHUB_REF_PROTECTED: '' + # GITHUB_REF_TYPE: '' + # GITHUB_REPOSITORY: '' + # GITHUB_REPOSITORY_ID: '' + # GITHUB_REPOSITORY_OWNER: '' + # GITHUB_REPOSITORY_OWNER_ID: '' + # GITHUB_RETENTION_DAYS: '' + # GITHUB_RUN_ATTEMPT: '' + # GITHUB_RUN_ID: '' + # GITHUB_RUN_NUMBER: '' + # GITHUB_SERVER_URL: '' + # GITHUB_SHA: '' + # GITHUB_STATE: '' + # GITHUB_STEP_SUMMARY: '' + # GITHUB_TRIGGERING_ACTOR: '' + # GITHUB_WORKFLOW: '' + # GITHUB_WORKFLOW_REF: '' + # GITHUB_WORKFLOW_SHA: '' + # GITHUB_WORKSPACE: '' GOROOT_1_20_X64: '' GOROOT_1_21_X64: '' GOROOT_1_22_X64: '' GRADLE_HOME: '' + # HOMEDRIVE: '' + # HOMEPATH: '' IEWebDriver: '' ImageOS: '' ImageVersion: '' @@ -299,10 +342,17 @@ jobs: JAVA_HOME_17_X64: '' JAVA_HOME_21_X64: '' JAVA_HOME_8_X64: '' + # LOCALAPPDATA: '' + # LOGONSERVER: '' M2: '' M2_REPO: '' MAVEN_OPTS: '' MonAgentClientLocation: '' + # npm_config_prefix: '' + # NUMBER_OF_PROCESSORS: '' + # OS: '' + # PATHEXT: '' + # PERFLOG_LOCATION_SETTING: '' PGBIN: '' PGDATA: '' PGPASSWORD: '' @@ -319,6 +369,7 @@ jobs: PROCESSOR_REVISION: '' PSModuleAnalysisCachePath: '' PSModulePath: '' + Path: 'C:\hostedtoolcache\windows\node\20.11.1\x64;C:\Program Files\Git\bin;C:\npm\prefix;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\Program Files\OpenSSL\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\PowerShell\7\;C:\Program Files\CMake\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI\;c:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps' DOTNET_MULTILEVEL_LOOKUP: '' DOTNET_NOLOGO: '' DOTNET_SKIP_FIRST_TIME_EXPERIENCE: '' @@ -328,6 +379,7 @@ jobs: GeckoWebDriver: '' GHCUP_INSTALL_BASE_PREFIX: '' GHCUP_MSYS2: '' + # RTOOLS44_HOME: '' RUNNER_ARCH: '' RUNNER_ENVIRONMENT: '' RUNNER_NAME: '' @@ -337,8 +389,20 @@ jobs: RUNNER_TOOL_CACHE: '' RUNNER_TRACKING_ID: '' RUNNER_WORKSPACE: '' + # USERDOMAIN: '' + # USERDOMAIN_ROAMINGPROFILE: '' + # USERNAME: '' + # USERPROFILE: '' + # VCPKG_INSTALLATION_ROOT: '' + # WIX: '' + # TERM: '' + # HOME: '' + # WINDIR: '' + # ProgramData: '' # PROGRAMFILES: '' # ProgramW6432: '' # ALLUSERSPROFILE: '' # APPDATA: '' # COMMONPROGRAMFILES: '' + # CommonProgramFiles(x86) + # CommonProgramW6432 diff --git a/.github/workflows/desktop-server-web.apps.yml b/.github/workflows/desktop-server-web.apps.yml index 2f921a7bc..2fcc04f92 100644 --- a/.github/workflows/desktop-server-web.apps.yml +++ b/.github/workflows/desktop-server-web.apps.yml @@ -258,6 +258,10 @@ jobs: ChocolateyInstall: '' ChromeWebDriver: '' COBERTURA_HOME: '' + # COMPUTERNAME: '' + # COMSPEC: '' + # CONDA: '' + # DEPLOYMENT_BASEPATH: '' SBT_HOME: '' SELENIUM_JAR_PATH: '' STATS_BLT: '' @@ -278,10 +282,49 @@ jobs: ANDROID_NDK_LATEST_HOME: '' ANDROID_NDK_ROOT: '' ANDROID_SDK_ROOT: '' + # GITHUB_ACTION: '' + # GITHUB_ACTIONS: '' + # GITHUB_ACTION_REF: '' + # GITHUB_ACTION_REPOSITORY: '' + # GITHUB_ACTOR: '' + # GITHUB_ACTOR_ID: '' + # GITHUB_API_URL: '' + # GITHUB_BASE_REF: '' + # GITHUB_ENV: '' + # GITHUB_EVENT_NAME: '' + # GITHUB_EVENT_PATH: '' + # GITHUB_GRAPHQL_URL: '' + # GITHUB_HEAD_REF: '' + # GITHUB_JOB: '' + # GITHUB_OUTPUT: '' + # GITHUB_PATH: '' + # GITHUB_REF: '' + # GITHUB_REF_NAME: '' + # GITHUB_REF_PROTECTED: '' + # GITHUB_REF_TYPE: '' + # GITHUB_REPOSITORY: '' + # GITHUB_REPOSITORY_ID: '' + # GITHUB_REPOSITORY_OWNER: '' + # GITHUB_REPOSITORY_OWNER_ID: '' + # GITHUB_RETENTION_DAYS: '' + # GITHUB_RUN_ATTEMPT: '' + # GITHUB_RUN_ID: '' + # GITHUB_RUN_NUMBER: '' + # GITHUB_SERVER_URL: '' + # GITHUB_SHA: '' + # GITHUB_STATE: '' + # GITHUB_STEP_SUMMARY: '' + # GITHUB_TRIGGERING_ACTOR: '' + # GITHUB_WORKFLOW: '' + # GITHUB_WORKFLOW_REF: '' + # GITHUB_WORKFLOW_SHA: '' + # GITHUB_WORKSPACE: '' GOROOT_1_20_X64: '' GOROOT_1_21_X64: '' GOROOT_1_22_X64: '' GRADLE_HOME: '' + # HOMEDRIVE: '' + # HOMEPATH: '' IEWebDriver: '' ImageOS: '' ImageVersion: '' @@ -290,10 +333,17 @@ jobs: JAVA_HOME_17_X64: '' JAVA_HOME_21_X64: '' JAVA_HOME_8_X64: '' + # LOCALAPPDATA: '' + # LOGONSERVER: '' M2: '' M2_REPO: '' MAVEN_OPTS: '' MonAgentClientLocation: '' + # npm_config_prefix: '' + # NUMBER_OF_PROCESSORS: '' + # OS: '' + # PATHEXT: '' + # PERFLOG_LOCATION_SETTING: '' PGBIN: '' PGDATA: '' PGPASSWORD: '' @@ -310,6 +360,7 @@ jobs: PROCESSOR_REVISION: '' PSModuleAnalysisCachePath: '' PSModulePath: '' + Path: 'C:\hostedtoolcache\windows\node\20.11.1\x64;C:\Program Files\Git\bin;C:\npm\prefix;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\Program Files\OpenSSL\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\PowerShell\7\;C:\Program Files\CMake\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI\;c:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps' DOTNET_MULTILEVEL_LOOKUP: '' DOTNET_NOLOGO: '' DOTNET_SKIP_FIRST_TIME_EXPERIENCE: '' @@ -319,6 +370,7 @@ jobs: GeckoWebDriver: '' GHCUP_INSTALL_BASE_PREFIX: '' GHCUP_MSYS2: '' + # RTOOLS44_HOME: '' RUNNER_ARCH: '' RUNNER_ENVIRONMENT: '' RUNNER_NAME: '' @@ -328,8 +380,20 @@ jobs: RUNNER_TOOL_CACHE: '' RUNNER_TRACKING_ID: '' RUNNER_WORKSPACE: '' + # USERDOMAIN: '' + # USERDOMAIN_ROAMINGPROFILE: '' + # USERNAME: '' + # USERPROFILE: '' + # VCPKG_INSTALLATION_ROOT: '' + # WIX: '' + # TERM: '' + # HOME: '' + # WINDIR: '' + # ProgramData: '' # PROGRAMFILES: '' # ProgramW6432: '' # ALLUSERSPROFILE: '' # APPDATA: '' # COMMONPROGRAMFILES: '' + # CommonProgramFiles(x86) + # CommonProgramW6432 diff --git a/.github/workflows/desktop.apps.yml b/.github/workflows/desktop.apps.yml index 8a192a06e..618ef3814 100644 --- a/.github/workflows/desktop.apps.yml +++ b/.github/workflows/desktop.apps.yml @@ -27,7 +27,7 @@ jobs: ref: master - name: Install Node.js, NPM and Yarn - uses: buildjet/setup-node@v3 + uses: buildjet/setup-node@v4 with: node-version: '20.11.1' cache: 'yarn' @@ -267,6 +267,10 @@ jobs: ChocolateyInstall: '' ChromeWebDriver: '' COBERTURA_HOME: '' + # COMPUTERNAME: '' + # COMSPEC: '' + # CONDA: '' + # DEPLOYMENT_BASEPATH: '' SBT_HOME: '' SELENIUM_JAR_PATH: '' STATS_BLT: '' @@ -287,10 +291,49 @@ jobs: ANDROID_NDK_LATEST_HOME: '' ANDROID_NDK_ROOT: '' ANDROID_SDK_ROOT: '' + # GITHUB_ACTION: '' + # GITHUB_ACTIONS: '' + # GITHUB_ACTION_REF: '' + # GITHUB_ACTION_REPOSITORY: '' + # GITHUB_ACTOR: '' + # GITHUB_ACTOR_ID: '' + # GITHUB_API_URL: '' + # GITHUB_BASE_REF: '' + # GITHUB_ENV: '' + # GITHUB_EVENT_NAME: '' + # GITHUB_EVENT_PATH: '' + # GITHUB_GRAPHQL_URL: '' + # GITHUB_HEAD_REF: '' + # GITHUB_JOB: '' + # GITHUB_OUTPUT: '' + # GITHUB_PATH: '' + # GITHUB_REF: '' + # GITHUB_REF_NAME: '' + # GITHUB_REF_PROTECTED: '' + # GITHUB_REF_TYPE: '' + # GITHUB_REPOSITORY: '' + # GITHUB_REPOSITORY_ID: '' + # GITHUB_REPOSITORY_OWNER: '' + # GITHUB_REPOSITORY_OWNER_ID: '' + # GITHUB_RETENTION_DAYS: '' + # GITHUB_RUN_ATTEMPT: '' + # GITHUB_RUN_ID: '' + # GITHUB_RUN_NUMBER: '' + # GITHUB_SERVER_URL: '' + # GITHUB_SHA: '' + # GITHUB_STATE: '' + # GITHUB_STEP_SUMMARY: '' + # GITHUB_TRIGGERING_ACTOR: '' + # GITHUB_WORKFLOW: '' + # GITHUB_WORKFLOW_REF: '' + # GITHUB_WORKFLOW_SHA: '' + # GITHUB_WORKSPACE: '' GOROOT_1_20_X64: '' GOROOT_1_21_X64: '' GOROOT_1_22_X64: '' GRADLE_HOME: '' + # HOMEDRIVE: '' + # HOMEPATH: '' IEWebDriver: '' ImageOS: '' ImageVersion: '' @@ -299,10 +342,17 @@ jobs: JAVA_HOME_17_X64: '' JAVA_HOME_21_X64: '' JAVA_HOME_8_X64: '' + # LOCALAPPDATA: '' + # LOGONSERVER: '' M2: '' M2_REPO: '' MAVEN_OPTS: '' MonAgentClientLocation: '' + # npm_config_prefix: '' + # NUMBER_OF_PROCESSORS: '' + # OS: '' + # PATHEXT: '' + # PERFLOG_LOCATION_SETTING: '' PGBIN: '' PGDATA: '' PGPASSWORD: '' @@ -319,6 +369,7 @@ jobs: PROCESSOR_REVISION: '' PSModuleAnalysisCachePath: '' PSModulePath: '' + Path: 'C:\hostedtoolcache\windows\node\20.11.1\x64;C:\Program Files\Git\bin;C:\npm\prefix;C:\hostedtoolcache\windows\Python\3.9.13\x64\Scripts;C:\hostedtoolcache\windows\Python\3.9.13\x64;C:\Program Files\OpenSSL\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\PowerShell\7\;C:\Program Files\CMake\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\GitHub CLI\;c:\tools\php;C:\Program Files (x86)\sbt\bin;C:\Program Files\Amazon\AWSCLIV2\;C:\Users\runneradmin\.dotnet\tools;C:\Users\runneradmin\.cargo\bin;C:\Users\runneradmin\AppData\Local\Microsoft\WindowsApps' DOTNET_MULTILEVEL_LOOKUP: '' DOTNET_NOLOGO: '' DOTNET_SKIP_FIRST_TIME_EXPERIENCE: '' @@ -328,6 +379,7 @@ jobs: GeckoWebDriver: '' GHCUP_INSTALL_BASE_PREFIX: '' GHCUP_MSYS2: '' + # RTOOLS44_HOME: '' RUNNER_ARCH: '' RUNNER_ENVIRONMENT: '' RUNNER_NAME: '' @@ -337,8 +389,20 @@ jobs: RUNNER_TOOL_CACHE: '' RUNNER_TRACKING_ID: '' RUNNER_WORKSPACE: '' + # USERDOMAIN: '' + # USERDOMAIN_ROAMINGPROFILE: '' + # USERNAME: '' + # USERPROFILE: '' + # VCPKG_INSTALLATION_ROOT: '' + # WIX: '' + # TERM: '' + # HOME: '' + # WINDIR: '' + # ProgramData: '' # PROGRAMFILES: '' # ProgramW6432: '' # ALLUSERSPROFILE: '' # APPDATA: '' # COMMONPROGRAMFILES: '' + # CommonProgramFiles(x86) + # CommonProgramW6432