2021-09-26 17:26:59 +08:00
|
|
|
name: Build
|
2021-09-27 23:41:59 +08:00
|
|
|
on: [push, pull_request]
|
2020-10-24 16:48:33 +08:00
|
|
|
jobs:
|
2020-10-24 17:23:09 +08:00
|
|
|
build:
|
2020-10-24 16:48:33 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-python@v2
|
2021-09-26 17:26:59 +08:00
|
|
|
- name: Set up JDK 17
|
2020-10-24 16:48:33 +08:00
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
2021-09-26 17:26:59 +08:00
|
|
|
java-version: 17
|
2020-10-24 16:48:33 +08:00
|
|
|
- run: find . -type f -name "*.java" > sources.txt
|
|
|
|
- run: javac @sources.txt
|