File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 prepare :
1414 runs-on : ubuntu-latest
15- if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
15+ if : github.event_name == 'push' || github.event_name == 'workflow_dispatch' || ( github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true)
1616
1717 outputs :
1818 submodule-matrix : ${{ steps.discover-submodules.outputs.submodule-matrix }}
8080 with :
8181 node-version : ' 20'
8282
83- - name : Run Database code
84- if : github.event_name != 'pull_request' && github.event.repository.fork == false
85- env :
86- UPLOAD_TO_DATABASE : true
87- run :
88- echo "Running database code"
89-
9083 - name : Install Database SDK
91- if : env.UPLOAD_TO_DATABASE
9284 run : |
9385 sudo apt-get update
9486 sudo apt-get install apt-transport-https ca-certificates gnupg curl
9789 sudo apt-get update && sudo apt-get install google-cloud-cli
9890
9991 - name : Authenticate to Database
100- if : env.UPLOAD_TO_DATABASE
10192 env :
10293 GCP_SERVICE_ACCOUNT_KEY : ${{ secrets.GCP_SERVICE_ACCOUNT_KEY }}
10394 run : |
You can’t perform that action at this time.
0 commit comments