Skip to content

Commit 1cdee16

Browse files
committed
Update workflows
1 parent dc6a8d2 commit 1cdee16

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- name: Setup Java
1919
uses: actions/setup-java@v4
2020
with:
21-
java-version: 17
2221
distribution: temurin
22+
java-version: 17
2323

2424
- name: Setup Gradle
2525
uses: gradle/actions/setup-gradle@v4
@@ -29,7 +29,7 @@ jobs:
2929
- name: Assemble
3030
run: ./gradlew assemble
3131

32-
- name: Check API compatibility
32+
- name: Check binary compatibility
3333
run: ./gradlew apiCheck
3434

3535
- name: Publish

.github/workflows/build.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Build
22

33
on:
4-
push:
4+
pull_request:
55
branches:
6-
- main
6+
- develop
7+
- master
8+
types:
9+
- opened
10+
- synchronize
711

812
jobs:
913
build:
@@ -18,8 +22,8 @@ jobs:
1822
- name: Setup Java
1923
uses: actions/setup-java@v4
2024
with:
21-
java-version: 17
2225
distribution: temurin
26+
java-version: 17
2327

2428
- name: Setup Gradle
2529
uses: gradle/actions/setup-gradle@v4
@@ -29,5 +33,5 @@ jobs:
2933
- name: Assemble
3034
run: ./gradlew assemble
3135

32-
- name: Check API compatibility
36+
- name: Check binary compatibility
3337
run: ./gradlew apiCheck

0 commit comments

Comments
 (0)