Skip to content

Commit 028b4d4

Browse files
committed
chore: check on stringified booleans when deciding deciding to submit on build
1 parent b324894 commit 028b4d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ jobs:
5252
echo $(jq '.expo.ios.bundleIdentifier = "dev.cedric.monorepo"' app.json) > app.json
5353
5454
- name: 🚀 Build example
55-
if: ${{ !github.event.inputs.submit || github.event.inputs.profile != 'production' }}
55+
if: ${{ github.event.inputs.submit == 'false' || github.event.inputs.profile != 'production' }}
5656
working-directory: apps/example
5757
run: eas build --non-interactive --wait --platform=${{ github.event.inputs.platform }} --profile=${{ github.event.inputs.profile }}
5858

5959
- name: 🚀 Build & submit example
60-
if: ${{ github.event.inputs.submit && github.event.inputs.profile != 'production' }}
60+
if: ${{ github.event.inputs.submit == 'true' && github.event.inputs.profile != 'production' }}
6161
working-directory: apps/example
6262
run: eas build --non-interactive --wait --auto-submit --platform=${{ github.event.inputs.platform }} --profile=${{ github.event.inputs.profile }}

0 commit comments

Comments
 (0)