#3: gradle.yml
.github/workflows/gradle.yml CI Config, .github/workflows/gradle.yml 46 lines · 34 code · 3 comments · 9 blank
GitHub Actions CI workflow. Triggers on pushes/PRs to `develop` (excluding `site/**`). Sets up JDK 17 Temurin, caches Gradle dependencies, and runs `./gradlew build` with `SPRING_PROFILES_ACTIVE=ci`.
Architecture
Triggers
- Push to
develop (excluding site/**) - Pull request to
develop (excluding site/**)
Jobs
- build: Runs on
ubuntu-latest
Steps
actions/checkout@v3 — Check out (called twice, legacy duplicate)
actions/setup-java@v3 — JDK 17 Temurin
actions/cache@v3 — Cache ~/.gradle/caches
chmod +x gradlew — Grant execute permission
./gradlew build — Build with SPRING_PROFILES_ACTIVE=ci
Dependencies
| Action | Version | Purpose |
| actions/checkout | v3 | Repository checkout |
| actions/setup-java | v3 | JDK 17 setup |
| actions/cache | v3 | Gradle cache |
Git History
9c574ead8 WorkFileHelper: target/work -> build/work. Github-action gradle.yml
7a87084b3 github actions
dbf84e23c ...
1b36b1e25 gradle.yml updated.
c52891593 Github-Action: gradle instead of maven.