try fixing test deployment
This commit is contained in:
parent
0261788a67
commit
8e7ad66b18
|
@ -14,6 +14,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: check-and-build
|
needs: check-and-build
|
||||||
environment: Test
|
environment: Test
|
||||||
|
env:
|
||||||
|
BUILD_NUMBER: ${{ github.GITHUB_RUN_NUMBER }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -23,7 +25,7 @@ jobs:
|
||||||
|
|
||||||
- name: Set versionsCode
|
- name: Set versionsCode
|
||||||
run: |
|
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
|
sed -i'.original' -e "s/^\([[:space:]]*versionCode[[:space:]]*\)[0-9]*/\\1$VERSION_CODE/" app/build.gradle
|
||||||
|
|
||||||
- name: Build Green aab
|
- name: Build Green aab
|
||||||
|
@ -55,4 +57,4 @@ jobs:
|
||||||
track: production
|
track: production
|
||||||
whatsNewDirectory: whatsnew
|
whatsNewDirectory: whatsnew
|
||||||
status: completed
|
status: completed
|
||||||
mappingFile: app/build/outputs/mapping/blueGoogleRelease/mapping.txt
|
mappingFile: app/build/outputs/mapping/greenRelease/mapping.txt
|
||||||
|
|
Loading…
Reference in New Issue