1
0
mirror of https://github.com/tuskyapp/Tusky synced 2024-12-22 15:04:25 +01:00

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.
This commit is contained in:
Konrad Pozniak 2024-10-11 09:23:19 +02:00 committed by GitHub
parent 20bd90faae
commit 997fd14c81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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