tmp
CI / Build and Test (push) Successful in 2m19s

This commit is contained in:
2026-06-19 23:12:09 +08:00
parent 9226965744
commit 5ed17e72dc
2 changed files with 8 additions and 8 deletions
+7 -6
View File
@@ -3,24 +3,20 @@ on:
push:
branches: [ dev ]
env:
JAVA_VERSION: '21'
JAVA_VERSION: '25'
GRADLE_VERSION: '8.14.5'
RUNNER_TOOL_CACHE: /var/lib/gitea-runner/.toolcache
GRADLE_USER_HOME: /var/lib/gitea-runner/.gradle
jobs:
build:
name: Build and Test
runs-on: hostinger
timeout-minutes: 30
container:
image: gitea.woggioni.net/woggioni/gitea-runner/java:latest
image: gitea.woggioni.net/woggioni/gitea-runner/debian:latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
@@ -36,3 +32,8 @@ jobs:
- name: Run Gradle build
run: ./gradlew build --no-daemon
# - name: Publish artifacts
# env:
# PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
# run: ./gradlew --no-daemon publish
+1 -2
View File
@@ -38,8 +38,7 @@ allprojects {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
vendor = JvmVendorSpec.ORACLE
languageVersion = JavaLanguageVersion.of(25)
}
modularity.inferModulePath = true
}