gha: don't create gs creds file if no creds

This commit is contained in:
Ruslan Kuprieiev
2020-10-27 00:23:34 +02:00
committed by GitHub
parent 6cf194f85f
commit 0736c64188
+1
View File
@@ -55,6 +55,7 @@ jobs:
git config --global user.name "DVC Tester"
- name: setup gs creds
shell: bash
if: env.GS_CREDS_JSON != ''
run: |
mkdir -p scripts/ci
echo "$GS_CREDS_JSON" > scripts/ci/gcp-creds.json