fix: job conditionals

This commit is contained in:
Karol Sójko 2022-10-19 13:59:23 +02:00
parent e58d2ec233
commit 5b1d755670
No known key found for this signature in database
GPG key ID: A50543BF560BDEB0

View file

@ -122,7 +122,7 @@ jobs:
run: yarn test ${{ inputs.package_path }}
e2e:
if: ${{ inputs.run_e2e_test_suite }} == true
if: ${{ inputs.run_e2e_test_suite }}
runs-on: ubuntu-latest
needs: build
@ -130,8 +130,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: ${{ inputs.run_e2e_test_suite }} == true && echo $?
- name: Cache build
id: cache-build
uses: actions/cache@v3
@ -348,7 +346,7 @@ jobs:
deploy-worker:
needs: [ publish-aws-ecr, publish-docker-hub ]
if: ${{ inputs.deploy_worker }} == true
if: ${{ inputs.deploy_worker }}
runs-on: ubuntu-latest