Skip to content

Commit 7e27ae6

Browse files
committed
multinode: Fail if no SSH key is provided for break_on
1 parent 467f842 commit 7e27ae6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/multinode.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ jobs:
9393
exit 1
9494
if: ${{ inputs.upgrade && inputs.stackhpc_kayobe_config_previous_version == '' }}
9595

96+
- name: Fail if no SSH key is provided for break_on
97+
run: |
98+
echo "break_on is set to ${{ inputs.break_on }} but an SSH public key has not been provided"
99+
exit 1
100+
if: ${{ inputs.break_on != 'never' && inputs.ssh_key == '' }}
101+
96102
- name: Install Package
97103
uses: ConorMacBride/install-package@main
98104
with:

0 commit comments

Comments
 (0)