Skip to content

Commit

Permalink
chore: actons ci 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
iampingu99 committed Jul 15, 2024
1 parent db953fb commit dadab88
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Java CI with Gradle

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
# 1. checkout
- uses: actions/checkout@v3

# 2. Java 17 설정
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

# 3. properties 설정
- name: Set up application.yml
run: |
mkdir -p src/main/resources
echo "${{ secrets.APPLICATION }}" > src/main/resources/application.yml
# 4. gradlew build
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build
Empty file modified gradlew
100644 → 100755
Empty file.

0 comments on commit dadab88

Please sign in to comment.