Browse Source

only run one test deployment at once (#4724)

When merging a bunch of PRs at once, it is enough if the newest one gets
deployed.
pull/4728/head
Konrad Pozniak 1 year ago committed by GitHub
parent
commit
997fd14c81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/workflows/deploy-test.yml

6
.github/workflows/deploy-test.yml

@ -7,6 +7,10 @@ on:
branches:
- develop
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
check-and-build:
uses: ./.github/workflows/check-and-build.yml
@ -23,7 +27,7 @@ jobs:
- name: Setup
uses: ./.github/actions/setup
- name: Set versionsCode
- name: Set versionCode
run: |
export VERSION_CODE=$(( ${BUILD_NUMBER} + 11000 ))
sed -i'.original' -e "s/^\([[:space:]]*versionCode[[:space:]]*\)[0-9]*/\\1$VERSION_CODE/" app/build.gradle

Loading…
Cancel
Save