File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ jobs:
173173 uses : actions/github-script@v8
174174 env :
175175 INPUT_MATRIX-SIZE-LIMIT : ${{ env.MATRIX_SIZE_LIMIT }}
176- INPUT_RUNS-ON : ${{ inputs.runs-on || 'ubuntu-latest' }}
176+ INPUT_RUNS-ON : ${{ inputs.runs-on }}
177177 INPUT_CONTEXT : ${{ inputs.context }}
178178 INPUT_TARGET : ${{ inputs.target }}
179179 INPUT_BAKE-ALLOW : ${{ inputs.bake-allow }}
@@ -236,7 +236,7 @@ jobs:
236236 } else if (platforms.length === 0) {
237237 includes.push({
238238 index: 0,
239- 'runs-on': inpRunsOn
239+ 'runs-on': inpRunsOn || 'ubuntu-latest'
240240 });
241241 } else {
242242 platforms.forEach((platform, index) => {
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ jobs:
172172 uses : actions/github-script@v8
173173 env :
174174 INPUT_MATRIX-SIZE-LIMIT : ${{ env.MATRIX_SIZE_LIMIT }}
175- INPUT_RUNS-ON : ${{ inputs.runs-on || 'ubuntu-latest' }}
175+ INPUT_RUNS-ON : ${{ inputs.runs-on }}
176176 INPUT_BUILD-PLATFORMS : ${{ inputs.build-platforms }}
177177 with :
178178 script : |
@@ -190,7 +190,7 @@ jobs:
190190 } else if (inpBuildPlatforms.length === 0) {
191191 includes.push({
192192 index: 0,
193- 'runs-on': inpRunsOn
193+ 'runs-on': inpRunsOn || 'ubuntu-latest'
194194 });
195195 } else {
196196 inpBuildPlatforms.forEach((platform, index) => {
You can’t perform that action at this time.
0 commit comments