-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use gradle-build-action instead of setup-java's cache
- Loading branch information
Showing
5 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,8 @@ jobs: | |
with: | ||
distribution: 'adopt' | ||
java-version: ${{ matrix.java_version }} | ||
cache: 'gradle' | ||
- name: Setup Gradle | ||
uses: gradle/[email protected] | ||
|
||
- name: "build using jdk ${{ matrix.java_version }}" | ||
run: ./gradlew build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,8 @@ jobs: | |
with: | ||
distribution: 'adopt' | ||
java-version: ${{ matrix.java_version }} | ||
cache: 'gradle' | ||
- name: Setup Gradle | ||
uses: gradle/[email protected] | ||
|
||
- name: "build using jdk ${{ matrix.java_version }}" | ||
run: ./gradlew build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,8 @@ jobs: | |
with: | ||
distribution: 'adopt' | ||
java-version: 11 | ||
cache: 'gradle' | ||
|
||
- name: Setup Gradle | ||
uses: gradle/[email protected] | ||
- name: check generateLogic committed | ||
run: ./gradle/scripts/check-generateLogic-committed.sh | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,9 @@ jobs: | |
with: | ||
distribution: 'adopt' | ||
java-version: 11 | ||
cache: 'gradle' | ||
- name: Setup Gradle | ||
uses: gradle/[email protected] | ||
|
||
- name: Generate readme | ||
run: ./gradlew :readme-examples:build | ||
- name: Create Pull Request | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,9 @@ jobs: | |
with: | ||
distribution: 'adopt' | ||
java-version: ${{ matrix.java_version }} | ||
cache: 'gradle' | ||
|
||
- name: Setup Gradle | ||
uses: gradle/[email protected] | ||
|
||
- name: Cache maven dependencies | ||
uses: actions/cache@v3 | ||
|