Files
Ornot/.gitea/workflows/build.yml
Josh Chester 07b6322d14
Some checks failed
Java Google Checkstyle / Checkstyle Linter (pull_request) Failing after 21s
Build with cached gradle / Build-with-gradle (pull_request) Has been cancelled
test failing unit test
2026-01-24 00:47:05 -06:00

19 lines
620 B
YAML

name: Build with cached 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 build --no-daemon
- run: ./gradlew publishAllPublicationsToGiteaRepository -PgradleKey="${{ secrets.GRADLE_KEY }}" --no-daemon