From 014cbc19c184358833feacd801a3e706cd91f4d3 Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Wed, 12 Apr 2023 19:03:25 -0700 Subject: [PATCH] Need quotes around module variable --- .github/workflows/test.yml | 3 +++ images/windows/editor/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b5eb4f68..f2ddc6a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -437,10 +437,13 @@ jobs: # The latest patch versions for each minor version. version: ${{ fromJson(needs.build-matrix.outputs.versions) }} module: + - base - windows-il2cpp - universal-windows-platform - appletv include: + - module: base + platform: StandaloneWindows64 - module: windows-il2cpp platform: StandaloneWindows64 - module: appletv diff --git a/images/windows/editor/Dockerfile b/images/windows/editor/Dockerfile index eb4fd881..90dfa762 100644 --- a/images/windows/editor/Dockerfile +++ b/images/windows/editor/Dockerfile @@ -20,7 +20,7 @@ RUN powershell -Command "&'C:/Program Files/Unity Hub/Unity Hub.exe' '--%' '--no else { exit 0 }" ARG module -RUN IF NOT %module% == "base" ( \ +RUN IF NOT "%module%"=="base" ( \ powershell -Command \ "&'C:/Program Files/Unity Hub/Unity Hub.exe' '--%' '--no-sandbox --headless \ install-modules --version %version% --module %module% --childModules' 2>$null | \