Files
Ornot/.gitea/workflows/build.yml
Josh Chester e053b55a76
Some checks failed
Build with gradle / Build-with-gradle (pull_request) Failing after 1m19s
Java Google Checkstyle / Checkstyle Linter (pull_request) Successful in 21s
adjust gradle key
2026-01-24 01:24:59 -06:00

19 lines
609 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