Files
Ornot/.gitea/workflows/build.yml
Josh Chester 7e5e942bfa
Some checks failed
Java Google Checkstyle / Checkstyle Linter (pull_request) Failing after 20s
Build with gradle / Build-with-gradle (pull_request) Failing after 54s
add gradle test command
2026-01-24 00:53:41 -06:00

19 lines
611 B
YAML

name: Build with gradle
run-name: Building for ${{ gitea.actor }}
on: [pull_request]
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