JavaAlgorithms/.github/workflows/build.yml
2020-10-25 02:12:50 +08:00

20 lines
395 B
YAML

name: Build Project
on:
pull_request:
push:
branches:
- master
jobs:
build:
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