Skip to content

Commit 9ab9c7a

Browse files
committed
Only upload builds to applause for main staging release
1 parent 9b5aca3 commit 9ab9c7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ jobs:
231231
unzip -p Expensify.apks universal.apk > Expensify.apk
232232
233233
- name: Upload Android build to Applause
234-
if: ${{ fromJSON(env.IS_APP_REPO) && (github.ref == 'refs/heads/staging' || fromJSON(needs.prep.outputs.IS_CHERRY_PICK)) }}
234+
if: ${{ fromJSON(env.IS_APP_REPO) && github.ref == 'refs/heads/staging' && !fromJSON(needs.prep.outputs.IS_CHERRY_PICK) }}
235235
run: |
236236
APPLAUSE_VERSION=$(echo '${{ needs.prep.outputs.APP_VERSION }}' | tr '-' '.')
237237
curl -F "file=@Expensify.apk" \
@@ -466,7 +466,7 @@ jobs:
466466
BROWSERSTACK: ${{ secrets.BROWSERSTACK }}
467467

468468
- name: Upload iOS build to Applause
469-
if: ${{ fromJSON(env.IS_APP_REPO) && fromJSON(env.SHOULD_BUILD_APP) }}
469+
if: ${{ fromJSON(env.IS_APP_REPO) && github.ref == 'refs/heads/staging' && !fromJSON(needs.prep.outputs.IS_CHERRY_PICK) }}
470470
run: |
471471
APPLAUSE_VERSION=$(echo '${{ needs.prep.outputs.APP_VERSION }}' | tr '-' '.')
472472
curl -F "file=@${{ env.ipaPath }}" \

0 commit comments

Comments
 (0)