Skip to content

Commit

Permalink
setUp: 빌드 및 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
donghyuun authored Sep 20, 2024
1 parent d716520 commit f689603
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Java CI

on:
workflow_dispatch:
push:
branches:
- 'Master'

jobs:
ci-pipeline:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '21'

- name: Grant execute permission for Gradle Wrapper
run: chmod +x ./gradlew

- name: Build with Gradle
run: ./gradlew build

- name: Test with Gradle
run: ./gradlew test

0 comments on commit f689603

Please sign in to comment.