-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump java version from 11 to 17 (#287)
- Loading branch information
1 parent
5816855
commit bd4bd6a
Showing
6 changed files
with
33 additions
and
43 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
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
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
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,22 +18,19 @@ jobs: | |
run: | | ||
git checkout -b release | ||
git push -u origin release | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 11 | ||
- name: Configure git | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "GitHub Actions" | ||
- name: Cache the dependencies | ||
uses: actions/cache@v3 | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
distribution: 'zulu' | ||
cache: 'gradle' | ||
cache-dependency-path: | | ||
./.gradle* | ||
./**/gradle-wrapper.properties | ||
java-version: 17.x.x | ||
- name: Get the release version | ||
id: version | ||
run: | | ||
|
@@ -45,7 +42,7 @@ jobs: | |
- name: Build the package | ||
run: ./gradlew buildPlugin | ||
- name: Make the release commit | ||
uses: EndBug/[email protected].3 | ||
uses: EndBug/[email protected].4 | ||
with: | ||
add: 'build.gradle' | ||
commit: '--signoff' | ||
|
@@ -86,7 +83,7 @@ jobs: | |
sed -i "/<\/\?ul>/d" build.gradle | ||
sed -i "/<li>/d" build.gradle | ||
- name: Make the next development commit | ||
uses: EndBug/[email protected].3 | ||
uses: EndBug/[email protected].4 | ||
with: | ||
add: 'build.gradle' | ||
commit: '--signoff' | ||
|
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
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