Skip to content

Commit 117d8bd

Browse files
committed
Azure self-hosted runner: always show post-deployment script output
Even if the deployment of a runner failed, we'd like to see the post-deployment script output. Maybe something failed there. This is under the assumption that the azure/arm-deploy action will output the information, even if the deployment failed. Let's see if it works. Signed-off-by: Dennis Ameling <[email protected]>
1 parent 71aa60e commit 117d8bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/create-azure-self-hosted-runners.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ jobs:
176176
echo "::endgroup::"
177177
178178
- name: Show post-deployment script output
179+
if: always()
179180
env:
180181
CUSTOM_SCRIPT_OUTPUT: ${{ steps.deploy-arm-template.outputs.customScriptInstanceView }}
181182
run: echo "$CUSTOM_SCRIPT_OUTPUT" | jq -r '.substatuses[0].message'

0 commit comments

Comments
 (0)