Skip to content

Commit

Permalink
Updated pipeline to enable Java 19
Browse files Browse the repository at this point in the history
  • Loading branch information
AxisAlexNT committed Jul 31, 2023
1 parent e8641b3 commit 1e3a96f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/autobuild-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
- uses: actions/checkout@v3
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '19'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
check-latest: true
cache: 'gradle'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Regenerate Gradle wrapper

- name: Regenerate Gradle wrapper
run: gradle wrapper
- name: Execute Gradle build

- name: Execute Gradle build
run: ./gradlew :clean :build

- name: Generate latest release
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ dependencies {
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_19
targetCompatibility = JavaVersion.VERSION_19
}

tasks.withType<ShadowJar> {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.7-35005ae
1.0.9-e8641b3

0 comments on commit 1e3a96f

Please sign in to comment.