Fail start-proxy PR check if outputs are not set

This commit is contained in:
Michael B. Gale
2024-12-13 17:05:23 +00:00
parent 0de662d785
commit 38fd34c412
2 changed files with 9 additions and 0 deletions

View File

@@ -71,5 +71,10 @@ jobs:
echo "${{ steps.proxy.outputs.proxy_host }}"
echo "${{ steps.proxy.outputs.proxy_port }}"
echo "${{ steps.proxy.outputs.proxy_urls }}"
- name: Fail if proxy outputs are not set
if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port)
|| (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls)
run: exit 1
env:
CODEQL_ACTION_TEST_MODE: true