Skip to content

Commit 967279b

Browse files
committed
- upgrade github action to jdk 24, use CI maven
1 parent a46eed5 commit 967279b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v4
11-
- name: Set up JDK 23
11+
- name: Set up JDK 24
1212
uses: actions/setup-java@v4
1313
with:
14-
distribution: 'zulu'
15-
java-version: '23'
14+
distribution: 'liberica'
15+
java-version: '24'
1616
java-package: jdk
1717
cache: 'maven'
1818
- name: Build and test with Maven
19-
run: ./mvnw -B package
19+
run: mvn -B package
2020
- name: SonarCloud Scan
21-
run: ./mvnw -B org.jacoco:jacoco-maven-plugin:prepare-agent sonar:sonar -Dsonar.projectKey=mediathekview_MediathekView -Dsonar.organization=mediathekview -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
21+
run: mvn -B org.jacoco:jacoco-maven-plugin:prepare-agent sonar:sonar -Dsonar.projectKey=mediathekview_MediathekView -Dsonar.organization=mediathekview -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)