Skip to content

Commit fe01601

Browse files
committed
Corrected if statement
1 parent efb5fd8 commit fe01601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.yamato/desktop-standalone-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ desktop_standalone_build_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
3939
type: {% if platform.name == "mac" %} {{ platform.type }} {% else %} {{ platform.type }}::GPU {% endif %}
4040
image: {{ platform.image }}
4141
flavor: {{ platform.flavor }}
42-
{% if platform.model %}
42+
{% if platform.name == "mac" %}
4343
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
4444
{% endif %}
4545
commands:
@@ -73,7 +73,7 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
7373
type: {% if platform.name == "mac" %} {{ platform.type }} {% else %} {{ platform.type }}::GPU {% endif %}
7474
image: {{ platform.image }}
7575
flavor: {{ platform.flavor }}
76-
{% if platform.name == mac %}
76+
{% if platform.name == "mac" %}
7777
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile). In this case it's specifically for macOS (if used for win/ubuntu then it will cause rust server to fail connecting)
7878
{% endif %}
7979

0 commit comments

Comments
 (0)