try fixing test deployment

This commit is contained in:
Conny Duck 2024-10-10 20:48:29 +02:00
parent 0261788a67
commit 8e7ad66b18
No known key found for this signature in database
1 changed files with 4 additions and 2 deletions

View File

@ -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