mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 14:40:10 +08:00
Fail start-proxy PR check if outputs are not set
This commit is contained in:
5
.github/workflows/__start-proxy.yml
generated
vendored
5
.github/workflows/__start-proxy.yml
generated
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user