From ddff7efcbd393a1d3b51b8a8b2b50e451c1381b3 Mon Sep 17 00:00:00 2001 From: shellhub Date: Sat, 24 Oct 2020 16:48:33 +0800 Subject: [PATCH] add build action --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..87cf28668 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +name: Build + +on: [push] + +jobs: + lint: + 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 \ No newline at end of file