Add concurrency to workflows

This commit is contained in:
Syer10
2021-10-28 11:54:37 -04:00
parent db4c58f481
commit de4ba2a757
3 changed files with 13 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ on:
tags:
- v*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
BuildBinaries:
name: Build application packages

View File

@@ -5,6 +5,10 @@ on:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_wrapper:
name: Validate Gradle Wrapper

View File

@@ -5,6 +5,11 @@ on:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
BuildBinaries:
name: Build application packages