File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,15 @@ jobs:
168
168
contents : |
169
169
[Reactant]
170
170
xla_runtime = "PJRT"
171
+ - name : " Setup Runtime Preferences for ${{ inputs.project }} (PJRT)"
172
+ if : ${{ (inputs.runtime == 'pjrt' || inputs.runtime == 'both') && inputs.project != '.' }}
173
+ uses : " DamianReeves/write-file-action@master"
174
+ with :
175
+ path : ${{ inputs.project }}/LocalPreferences.toml
176
+ write-mode : " overwrite"
177
+ contents : |
178
+ [Reactant]
179
+ xla_runtime = "PJRT"
171
180
172
181
- name : " Run Tests (PJRT)"
173
182
if : ${{ (inputs.runtime == 'pjrt' || inputs.runtime == 'both') && inputs.project == '.' }}
@@ -204,6 +213,15 @@ jobs:
204
213
contents : |
205
214
[Reactant]
206
215
xla_runtime = "IFRT"
216
+ - name : " Setup Runtime Preferences for ${{ inputs.project }} (IFRT)"
217
+ if : ${{ (inputs.runtime == 'ifrt' || inputs.runtime == 'both') && inputs.project != '.' }}
218
+ uses : " DamianReeves/write-file-action@master"
219
+ with :
220
+ path : ${{ inputs.project }}/LocalPreferences.toml
221
+ write-mode : " overwrite"
222
+ contents : |
223
+ [Reactant]
224
+ xla_runtime = "IFRT"
207
225
208
226
- name : " Run Tests (IFRT)"
209
227
if : ${{ (inputs.runtime == 'ifrt' || inputs.runtime == 'both') && inputs.project == '.' }}
You can’t perform that action at this time.
0 commit comments