We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d498bf6 commit e98d992Copy full SHA for e98d992
1 file changed
.github/tpl/test.tpl.yml
@@ -551,9 +551,15 @@ jobs:
551
[ "$TEST_ENV" = "abc" ]
552
ssh -v -p 20022 ${VM_USER:-root}@localhost "uname -a;whoami;pwd"
553
554
- - name: Test custom shell
555
- if: ${{ steps.check.outputs.run == 'true' }}
556
- shell: ${{ matrix.customshell && matrix.customshell || '{{VM_OS_NAME}}' }} {0}
+ - name: Test custom shell (default)
+ if: ${{ steps.check.outputs.run == 'true' && !matrix.customshell }}
+ shell: {{VM_OS_NAME}} {0}
557
+ run: |
558
+ pwd
559
+{{VM_RUN}}
560
+ - name: Test custom shell (custom)
561
+ if: ${{ steps.check.outputs.run == 'true' && matrix.customshell }}
562
+ shell: ${{ matrix.customshell }} {0}
563
run: |
564
pwd
565
{{VM_RUN}}
0 commit comments