fix: builder and sdk changes #81
1 changed files with 10 additions and 2 deletions
12
.github/actions/acc_test/action.yaml
vendored
12
.github/actions/acc_test/action.yaml
vendored
|
|
@ -130,9 +130,17 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
if [ ! -f "${{ inputs.service_account_json_file_path }}" ]; then
|
jsonFileContent="${{ inputs.service_account_json_content }}"
|
||||||
|
jsonFile="${{ inputs.service_account_json_file_path }}"
|
||||||
|
jsonFile="${jsonFile:-x}"
|
||||||
|
if [ "${jsonFile}" == "x" ]; then
|
||||||
|
echo "no service account file path provided"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "${jsonFile}" ]; then
|
||||||
echo "unable to find service account file '${{ inputs.service_account_json_file_path }}'"
|
echo "unable to find service account file '${{ inputs.service_account_json_file_path }}'"
|
||||||
if [ "x${{ inputs.service_account_json_content }}" == "x" ]; then
|
if [ "${jsonFileContent:-x}" == "x" ]; then
|
||||||
echo "ERROR: service_account_json_file_content MUST NOT be empty if account file is missing"
|
echo "ERROR: service_account_json_file_content MUST NOT be empty if account file is missing"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue