Skip to content

Commit

Permalink
feat(cicd): move to temurin 17 to avoid java compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Dec 9, 2022
1 parent 18acec9 commit 01df117
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
distribution: 'temurin'
java-version: 17

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
Expand Down Expand Up @@ -238,6 +238,13 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
# JDK
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17

# Publish
- name: Publish package to Sonatype
if: github.ref == 'refs/heads/develop'
Expand Down Expand Up @@ -288,6 +295,6 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
username: GitHub Actions
name: GitHub Actions
icon_emoji: ':github-actions:'
channel: 'C02DQ1A7JLR'
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ subprojects {
}

jacoco {
toolVersion = "0.8.4"
toolVersion = "0.8.8"
}

jacocoTestReport {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ void timezone() throws Exception {

ZonedDateTime date = ZonedDateTime.now()
.withZoneSameLocal(ZoneId.of("America/New_York"))
.withMonth(ZonedDateTime.now().getMonthValue() + 1)
.withMonth(5)
.withDayOfMonth(1)
.withHour(9)
.withMinute(12)
Expand Down

0 comments on commit 01df117

Please sign in to comment.