Skip to content

Commit 45d731d

Browse files
committed
Var to set upgrade AiOs to Leafcloud
1 parent 90b8f10 commit 45d731d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ jobs:
7777
runner-selection:
7878
uses: ./.github/workflows/runner-selector.yml
7979
with:
80-
runner_env: ${{ inputs.runner_env }}
80+
runner_env: ${{ inputs.upgrade == true && 'Leafcloud' || inputs.runner_env }}
8181
# NOTE: Runner needs unzip and nodejs packages.
8282
all-in-one:
8383
name: All in one
8484
if: ${{ inputs.if && !cancelled() }}
85-
environment: ${{ inputs.runner_env }}
85+
environment: ${{ inputs.upgrade == true && 'Leafcloud' || inputs.runner_env }}
8686
runs-on: ${{ needs.runner-selection.outputs.runner_name_aio }}
8787
needs:
8888
- runner-selection

0 commit comments

Comments
 (0)