From 6712d83a85c11040b37a04db460f8c37765c0789 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 30 Sep 2025 19:15:00 +0800 Subject: [PATCH] ci(actions): run on self-hosted environment (no container) --- .gitea/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1ffb95e..ce5c01b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -12,17 +12,14 @@ concurrency: jobs: build_test_package: - runs-on: ubuntu-latest - container: - image: maven:3.9-eclipse-temurin-17 + runs-on: self-hosted steps: - name: Show Java and Maven versions run: | java -version mvn -v - # Gitea act_runner clones the repository; explicit checkout is optional. + # Gitea act_runner provides the repo workspace by default. - name: Build and test run: mvn -B -DskipTests=false clean verify - name: Package run: mvn -B -DskipTests clean package -