chore: adds more build checks #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Fullstack Demo Java Pull Request | |
on: | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- ".github/workflows/check_fullstack_demo_java_pr.yaml" | |
- "lib/java/fullstack_demo/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
env: | |
CLERK_PERISHABLE_KEY: 12345 | |
CLERK_SECRET_KEY: 12345 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Build Fullstack Demo with Java | |
working-directory: ./lib/java/fullstack_demo | |
run: ./gradlew check |