mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Cancel previous ongoing runs in the PR/branch when you push new commits (#4783)
* added cancel previous build * updated Cancel Workflow Action * added cancel previous builds * reverted unwanted changes
This commit is contained in:
parent
873b4c500b
commit
15d70bbe0a
1 changed files with 6 additions and 2 deletions
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
|
|
@ -2,6 +2,10 @@ name: Android CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: build-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue