File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,23 +34,23 @@ jobs:
34
34
# This makes Actions fetch all Git history so run-changed script can diff properly.
35
35
fetch-depth : 0
36
36
- uses : ' google-github-actions/auth@v0'
37
- if : ${{ env.run_terraform_steps }}
37
+ if : ${{ fromJSON( env.run_terraform_steps) }}
38
38
with :
39
39
credentials_json : ' ${{ secrets.JSSDK_ACTIONS_SA_KEY }}'
40
40
41
41
# create composite indexes with Terraform
42
42
- name : Setup Terraform
43
- if : ${{ env.run_terraform_steps }}
43
+ if : ${{ fromJSON( env.run_terraform_steps) }}
44
44
uses : hashicorp/setup-terraform@v2
45
45
- name : Terraform Init
46
- if : ${{ env.run_terraform_steps }}
46
+ if : ${{ fromJSON( env.run_terraform_steps) }}
47
47
run : |
48
48
cp config/ci.config.json config/project.json
49
49
cd packages/firestore
50
50
terraform init
51
51
continue-on-error : true
52
52
- name : Terraform Apply
53
- if : github.event_name == 'pull_request' && env.run_terraform_steps
53
+ if : github.event_name == 'pull_request' && fromJSON( env.run_terraform_steps)
54
54
run : |
55
55
cd packages/firestore
56
56
You can’t perform that action at this time.
0 commit comments