2020-10-24 17:23:09 +08:00
|
|
|
name: Build Project
|
2020-10-24 16:48:33 +08:00
|
|
|
|
2020-10-25 02:05:31 +08:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
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
|
|
|
|
- name: Set up JDK 12
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 12
|
|
|
|
- run: find . -type f -name "*.java" > sources.txt
|
|
|
|
- run: javac @sources.txt
|