Add: GitHub Actions CI

Add GitHub Actions as a continuous integration tool to your project.
This commit is contained in:
MaengSol
2021-08-24 17:29:10 +09:00
parent 606f1ce94f
commit 6a2c018a43

21
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1.4.3
with:
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --info