Ensure that releases are not ran in parallel (#2294)

This commit is contained in:
modmuss50 2021-04-07 23:11:16 +01:00 committed by GitHub
parent 5938ece303
commit 232a1e0b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,16 @@ jobs:
- uses: actions/checkout@v1
- uses: gradle/wrapper-validation-action@v1
# Ensure that releases are not ran in parallel, this ensures that the latest commit is the latest release
# See https://github.com/softprops/turnstyle
- name: Turnstyle
uses: softprops/turnstyle@v1
with:
continue-after-seconds: 900
same-branch-only: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Generate the build number based on tags to allow per branch build numbers, not something github provides by default.
- name: Generate build number
id: buildnumber