JavaAlgorithms/.github/workflows/build.yml

14 lines
355 B
YAML
Raw Normal View History

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
- name: Set up JDK 17
2020-10-24 16:48:33 +08:00
uses: actions/setup-java@v1
with:
java-version: 17
2020-10-24 16:48:33 +08:00
- run: find . -type f -name "*.java" > sources.txt
- run: javac @sources.txt