Skip to content

Commit

Permalink
[SETTING] CI설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hong0329 authored and yeseul106 committed Jan 4, 2024
1 parent cad0030 commit ab88a16
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
pull_request:
branches: [ "develop" ]

jobs:
build:
runs-on: ubuntu-20.04
env:
working-directory: growthookServer

steps:
- name: 체크아웃
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'

- name: application.yaml 생성
run: |
mkdir src/main/resources
cd src/main/resources
echo "${{ secrets.APPLICATION }}" > ./application.yaml
working-directory: ${{ env.working-directory }}

- name: 빌드
run: |
chmod +x gradlew
./gradlew build -x test
working-directory: ${{ env.working-directory }}
shell: bash

0 comments on commit ab88a16

Please sign in to comment.