From 8e7ad66b187d45f82f01d10a49bfad5acd048dab Mon Sep 17 00:00:00 2001 From: Conny Duck Date: Thu, 10 Oct 2024 20:48:29 +0200 Subject: [PATCH] try fixing test deployment --- .github/workflows/deploy-test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 3f8e0d8f3..cd700a465 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-latest needs: check-and-build environment: Test + env: + BUILD_NUMBER: ${{ github.GITHUB_RUN_NUMBER }} steps: - name: Checkout uses: actions/checkout@v4 @@ -23,7 +25,7 @@ jobs: - name: Set versionsCode run: | - export VERSION_CODE=$(( ${{ github.GITHUB_RUN_NUMBER }} + 11000 )) + export VERSION_CODE=$(( ${BUILD_NUMBER} + 11000 )) sed -i'.original' -e "s/^\([[:space:]]*versionCode[[:space:]]*\)[0-9]*/\\1$VERSION_CODE/" app/build.gradle - name: Build Green aab @@ -55,4 +57,4 @@ jobs: track: production whatsNewDirectory: whatsnew status: completed - mappingFile: app/build/outputs/mapping/blueGoogleRelease/mapping.txt + mappingFile: app/build/outputs/mapping/greenRelease/mapping.txt