Skip to content

Commit 07fcfb4

Browse files
joaopapereiraa-b
authored andcommitted
Fix boolean check
Signed-off-by: João Pereira <[email protected]>
1 parent 5427407 commit 07fcfb4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tests-integration.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ jobs:
181181
check-latest: true
182182

183183
- name: Install Tools
184+
if: ${{ (inputs.lease_id == '') || (inputs.reinstall_cfd == true) }}
184185
run: |
185186
go version
186187
@@ -200,7 +201,7 @@ jobs:
200201
apt-get install -y build-essential unzip
201202

202203
- name: Upload latest CAPI release
203-
if: ${{ inputs.lease_id == '' || inputs.reinstall_cfd == 'true' }}
204+
if: ${{ (inputs.lease_id == '') || (inputs.reinstall_cfd == true) }}
204205
env:
205206
capi_release_version: ${{ vars.CAPI_RELEASE_VERSION }}
206207
run: |
@@ -217,15 +218,15 @@ jobs:
217218
bosh upload-release "https://bosh.io/d/github.com/cloudfoundry/capi-release?v=$capi_release_version"
218219
219220
- name: Checkout cf-deployment
220-
if: ${{ inputs.lease_id == '' || inputs.reinstall_cfd == 'true' }}
221+
if: ${{ (inputs.lease_id == '') || (inputs.reinstall_cfd == true) }}
221222
uses: actions/checkout@v4
222223
with:
223224
repository: cloudfoundry/cf-deployment
224225
path: cf-deployment
225226
ref: ${{steps.claim.outputs.cf_deployment_version}}
226227

227228
- name: Deploy Isolation Segment and OIDC Provider
228-
if: ${{ inputs.lease_id == '' || inputs.reinstall_cfd == 'true' }}
229+
if: ${{ (inputs.lease_id == '') || (inputs.reinstall_cfd == true) }}
229230
run: |
230231
env_name=$(jq -r .name metadata.json)
231232
jq -r .bosh.jumpbox_private_key metadata.json > /tmp/${env_name}.priv

0 commit comments

Comments
 (0)