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:
Rishi Kumar Ray 2022-02-01 13:16:15 +05:30 committed by GitHub
parent 873b4c500b
commit 15d70bbe0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,10 @@ name: Android CI
on: [push, pull_request]
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-18.04