Skip to content

Commit 576bc7f

Browse files
committed
chore: updates ci timeout and concurrency
1 parent cae2a4c commit 576bc7f

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/flow.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ on:
1010
- master
1111
- development
1212

13+
concurrency:
14+
group: build-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
build:
19+
timeout-minutes: 40
1520
runs-on: ubuntu-latest
1621
env:
1722
JVM_OPTS: -Xmx3200m
@@ -20,11 +25,10 @@ jobs:
2025
- name: Checkout
2126
uses: actions/checkout@v2
2227
- name: Set up JDK
23-
uses: actions/setup-java@v1
28+
uses: actions/setup-java@v2
2429
with:
2530
java-version: 11
26-
- name: Download Dependencies
27-
run: ./gradlew androidDependencies
31+
distribution: 'adopt'
2832
- name: Cache dependencies
2933
uses: actions/cache@v2
3034
with:

0 commit comments

Comments
 (0)