File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2626 run : composer validate
2727
2828 - name : Setup GCP environment
29- run : ./bin/ci/scripts/setup_gcp.sh
29+ run : " ./bin/ci/scripts/setup_gcp.sh || echo \" GCP setup failed (maybe due to fork limitation) \" "
3030 env :
3131 BASE64_GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.BASE64_GOOGLE_APPLICATION_CREDENTIALS }}
3232 GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
Original file line number Diff line number Diff line change 11#! /bin/bash
2-
3- printenv BASE64_GOOGLE_APPLICATION_CREDENTIALS | base64 --decode > " ${GOOGLE_APPLICATION_CREDENTIALS} "
2+ if [ -z ${BASE64_GOOGLE_APPLICATION_CREDENTIALS+x} ] || [ -z ${GOOGLE_APPLICATION_CREDENTIALS+x} ];
3+ then
4+ echo " GCP secret variables are not set, ignoring..."
5+ else
6+ printenv BASE64_GOOGLE_APPLICATION_CREDENTIALS | base64 --decode > " ${GOOGLE_APPLICATION_CREDENTIALS} "
7+ fi
You can’t perform that action at this time.
0 commit comments