Skip to content

Commit

Permalink
chore: add git-acitons for build&test (#10)
Browse files Browse the repository at this point in the history
* chore: add git-acitons for build&test

* chore: add execute permission

* chore: change unmacthed job name
  • Loading branch information
junha-ahn authored Jul 7, 2023
1 parent d6ee810 commit 365e033
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Java CI

on:
pull_request:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: add execute permission
run: |
chmod +x ./gradlew
- name: Build with Gradle
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: build

0 comments on commit 365e033

Please sign in to comment.