Skip to content

Commit

Permalink
chore: added github action CI (#97)
Browse files Browse the repository at this point in the history
* chore: added github action CI

* chore: added github action CI for main

* chore: renamed files

* chore: changed name
  • Loading branch information
wkm97 authored May 29, 2022
1 parent 8702c2e commit 9bdea80
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI on main
on:
push:
branches:
- "main"
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew clean build
18 changes: 18 additions & 0 deletions .github/workflows/ci_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI on PR
on: pull_request
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew clean build

0 comments on commit 9bdea80

Please sign in to comment.