Skip to content

Commit 522bf36

Browse files
authored
Merge pull request #44120 from Expensify/andrew-hybrid-deploy-fix
Add checkout and inline `npm version` to fix HybridApp deploys
2 parents d2ea358 + 6f93611 commit 522bf36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/platformDeploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,11 @@ jobs:
372372
needs: validateActor
373373
if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) && github.event_name == 'push' }}
374374
steps:
375-
- name: Get version
376-
run: echo "VERSION=$(npm run print-version --silent)" >> "$GITHUB_ENV"
375+
- name: Checkout
376+
uses: actions/checkout@v4
377377

378378
- name: 'Deploy HybridApp'
379-
run: gh workflow run --repo Expensify/Mobile-Deploy deploy.yml -f force_build=true -f build_version=${{ env.VERSION }}
379+
run: gh workflow run --repo Expensify/Mobile-Deploy deploy.yml -f force_build=true -f build_version="$(npm run print-version --silent)"
380380
env:
381381
GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
382382

0 commit comments

Comments
 (0)