mirror of https://github.com/FabricMC/yarn.git
Ensure that releases are not ran in parallel (#2294)
This commit is contained in:
parent
5938ece303
commit
232a1e0b9f
|
@ -10,6 +10,16 @@ jobs:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: gradle/wrapper-validation-action@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.
|
# Generate the build number based on tags to allow per branch build numbers, not something github provides by default.
|
||||||
- name: Generate build number
|
- name: Generate build number
|
||||||
id: buildnumber
|
id: buildnumber
|
||||||
|
|
Loading…
Reference in New Issue