Files
Ornot/.gitea/workflows/build.yml
Josh Chester 2f5dfa5a26
All checks were successful
Java Google Checkstyle / Checkstyle Linter (push) Successful in 35s
Build with gradle / Build-with-gradle (push) Successful in 1m31s
Update readme and actions
Project now builds and runs unit tests, as well as linting with checkstyle.

Co-authored-by: Josh Chester <numbers@softwaresmyth.com>
Co-committed-by: Josh Chester <numbers@softwaresmyth.com>
2026-01-24 13:05:12 -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