name: Build on: push jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - name: Set up JDK 17 uses: actions/setup-java@v1 with: java-version: 17 - run: find . -type f -name "*.java" > sources.txt - run: javac @sources.txt