From 2e2b1eac3533e465ff1fcd47ceb51fd5c5e330e8 Mon Sep 17 00:00:00 2001 From: Aman Singh Date: Tue, 13 Jun 2023 03:02:58 +0530 Subject: [PATCH] TP-0000 | if conditions corrected --- .github/workflows/newBuild.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/newBuild.yml b/.github/workflows/newBuild.yml index 3550ae58..81691ae6 100644 --- a/.github/workflows/newBuild.yml +++ b/.github/workflows/newBuild.yml @@ -73,13 +73,13 @@ jobs: if: ((github.event.inputs.environment == 'qa' || inputs.environment == 'qa') && (github.event.inputs.type == 'debug' || inputs.type == 'debug')) run: yarn move:qa && yarn debug && cd android && ./gradlew assembleDebug - name: Assemble with Stacktrace - Dev debug - if: (github.event.inputs.environment == 'dev' || inputs.environment == 'dev' && github.event.inputs.type == 'debug' || inputs.type == 'debug') + if: ((github.event.inputs.environment == 'dev' || inputs.environment == 'dev') && (github.event.inputs.type == 'debug' || inputs.type == 'debug')) run: yarn move:dev && yarn debug && cd android && ./gradlew assembleDebug - name: Assemble with Stacktrace - QA release - if: (github.event.inputs.environment == 'qa' || inputs.environment == 'qa' && github.event.inputs.type == 'release' || inputs.type == 'release') + if: ((github.event.inputs.environment == 'qa' || inputs.environment == 'qa') && (github.event.inputs.type == 'release' || inputs.type == 'release')) run: yarn move:qa && cd android && ./gradlew assembleRelease - name: Assemble with Stacktrace - Dev release - if: (github.event.inputs.environment == 'dev' || inputs.environment == 'dev' && github.event.inputs.type == 'debug' || inputs.type == 'release') + if: ((github.event.inputs.environment == 'dev' || inputs.environment == 'dev') && (github.event.inputs.type == 'debug' || inputs.type == 'release')) run: yarn move:dev && cd android && ./gradlew assembleRelease - name: Upload APK as Artifact uses: actions/upload-artifact@v3