Files
Ornot/.gitea/workflows/build.yml
Josh Chester 62ecf143a1
All checks were successful
Java Google Checkstyle / Checkstyle Linter (pull_request) Successful in 36s
Build with gradle / Build-with-gradle (pull_request) Successful in 1m31s
Tweak action triggers
2026-01-24 12:47:37 -06:00

23 lines
647 B
YAML

name: Build with gradle
run-name: Building for ${{ gitea.actor }}
on:
pull_request:
push:
branches:
- 'main'
jobs:
Build-with-gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '22'
cache: 'gradle'
# cache-dependency-path: | # optional
# sub-project/*.gradle*
# sub-project/**/gradle-wrapper.properties
- run: ./gradlew test --no-daemon
- run: ./gradlew publishAllPublicationsToGiteaRepository -PgradleKey=${{ secrets.GRADLE_KEY }} --no-daemon