File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,11 +199,11 @@ jobs:
199199 matrix :
200200 include :
201201 - emscripten : latest
202- gp_no_ui : 1
202+ gp_no_ui : ON
203203 - emscripten : 3.1.50
204- gp_no_ui : 1
204+ gp_no_ui : ON
205205 - emscripten : latest
206- gp_no_ui : 0
206+ gp_no_ui : OFF
207207
208208 steps :
209209 - name : Checkout code
@@ -225,7 +225,7 @@ jobs:
225225 emcmake cmake -B build-emscripten \
226226 -S . \
227227 -DGP_NO_LUA_BINDINGS=1 \
228- ${{ if matrix.gp_no_ui != '0' }} -DGP_NO_UI=ON ${{ endif }} \
228+ -DGP_NO_UI=${{ matrix.gp_no_ui }} \
229229 -DCMAKE_BUILD_TYPE=MinSizeRel
230230
231231 - name : Build Emscripten
@@ -236,15 +236,15 @@ jobs:
236236 run : |
237237 cd out
238238 # Include UI status in the filename
239- if [ ${{ matrix.gp_no_ui }} -eq 0 ]; then
239+ if [ ${{ matrix.gp_no_ui }} -eq 'OFF' ]; then
240240 zip -r ../$REPO_NAME-emscripten-${{ matrix.emscripten }}-ui.zip .
241241 else
242242 zip -r ../$REPO_NAME-emscripten-${{ matrix.emscripten }}.zip .
243243 fi
244244
245245 - name : Upload to S3
246246 run : |
247- if [ ${{ matrix.gp_no_ui }} -eq 0 ]; then
247+ if [ ${{ matrix.gp_no_ui }} -eq 'OFF' ]; then
248248 aws s3 cp $REPO_NAME-emscripten-${{ matrix.emscripten }}-ui.zip \
249249 s3://$S3_BUCKET/builds/ --endpoint-url=$S3_ENDPOINT
250250 else
You can’t perform that action at this time.
0 commit comments