From 64cee51b989f220e5a6d412ff38678736abcf44b Mon Sep 17 00:00:00 2001 From: Rory Abraham <47436092+roryabraham@users.noreply.github.com> Date: Thu, 20 Jun 2024 13:54:15 -0700 Subject: [PATCH] Merge pull request #44120 from Expensify/andrew-hybrid-deploy-fix Add checkout and inline `npm version` to fix HybridApp deploys (cherry picked from commit 522bf3630e4f35d3b07ba13b4996a0883522e1d3) --- .github/workflows/platformDeploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index dd169a25c63d..640d1eaa1172 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -372,11 +372,11 @@ jobs: needs: validateActor if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) && github.event_name == 'push' }} steps: - - name: Get version - run: echo "VERSION=$(npm run print-version --silent)" >> "$GITHUB_ENV" + - name: Checkout + uses: actions/checkout@v4 - name: 'Deploy HybridApp' - run: gh workflow run --repo Expensify/Mobile-Deploy deploy.yml -f force_build=true -f build_version=${{ env.VERSION }} + run: gh workflow run --repo Expensify/Mobile-Deploy deploy.yml -f force_build=true -f build_version="$(npm run print-version --silent)" env: GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}