Skip to content

Commit cde7fa3

Browse files
committed
Update GHA workflows
1 parent 52e2050 commit cde7fa3

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- 'development'
77
- '*_baseline'
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build-app:
1115
name: Build App
@@ -15,16 +19,16 @@ jobs:
1519
ARTIFACTORY_TOKEN: ${{ secrets.ARTIFACTORY_TOKEN }}
1620
steps:
1721
- name: checkout
18-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
1923

2024
- name: Gradle cache
21-
uses: gradle/gradle-build-action@v2.4.2
25+
uses: gradle/gradle-build-action@v3
2226

23-
- name: Set up JDK 11
27+
- name: Set up JDK 17
2428
uses: actions/setup-java@v3
2529
with:
2630
distribution: 'temurin'
27-
java-version: 11
31+
java-version: 17
2832
cache: 'gradle'
2933

3034
- name: Publish

.github/workflows/instrumented.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- 'master'
88
- '*_baseline'
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
test:
1216
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,26 @@ on:
44
branches:
55
- '*'
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
build-app:
913
name: Build App
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: checkout
13-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1418

1519
- name: Gradle cache
1620
uses: gradle/gradle-build-action@v3
1721

18-
- name: Set up JDK 11
22+
- name: Set up JDK 17
1923
uses: actions/setup-java@v4
2024
with:
2125
distribution: 'temurin'
22-
java-version: 11
26+
java-version: 17
2327
cache: 'gradle'
2428

2529
- name: Test with Gradle

0 commit comments

Comments
 (0)