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: push:
branches: [ dev ] branches: [ dev ]
env: env:
JAVA_VERSION: '21' JAVA_VERSION: '25'
GRADLE_VERSION: '8.14.5' GRADLE_VERSION: '8.14.5'
RUNNER_TOOL_CACHE: /var/lib/gitea-runner/.toolcache
GRADLE_USER_HOME: /var/lib/gitea-runner/.gradle
jobs: jobs:
build: build:
name: Build and Test name: Build and Test
runs-on: hostinger runs-on: hostinger
timeout-minutes: 30 timeout-minutes: 30
container: container:
image: gitea.woggioni.net/woggioni/gitea-runner/java:latest image: gitea.woggioni.net/woggioni/gitea-runner/debian:latest
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v6 uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v5 uses: actions/setup-java@v5
with: with:
@@ -36,3 +32,8 @@ jobs:
- name: Run Gradle build - name: Run Gradle build
run: ./gradlew build --no-daemon 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 { java {
toolchain { toolchain {
languageVersion = JavaLanguageVersion.of(21) languageVersion = JavaLanguageVersion.of(25)
vendor = JvmVendorSpec.ORACLE
} }
modularity.inferModulePath = true modularity.inferModulePath = true
} }