Skip to content

[fix]:Main #136 dto sessionId 필드 추가 #106

[fix]:Main #136 dto sessionId 필드 추가

[fix]:Main #136 dto sessionId 필드 추가 #106

name: Main Service CI
on:
pull_request:
branches: [ "develop" ]
jobs:
check-skip:
name: Check ot skip CI
runs-on: ubuntu-latest
if: ${{ contains(github.event.head_commit.message, 'Main') || contains(github.event.head_commit.message, 'Global') }}
steps:
- run: echo "${{ github.event.head_commit.message }}"
build:
runs-on: ubuntu-latest
needs: check-skip
steps:
- uses: actions/checkout@v3
- name: 🍀 JDK 17 설정
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: 🍀 application.yml 설정
run: |
cd ./MainService
cd ./src/main
mkdir resources
cd ./resources
touch ./application.yml
echo "$APPLICATION_MAIN" > ./application.yml
env:
APPLICATION_MAIN: ${{ secrets.APPLICATION_MAIN }}
- name: 🍀 gradle build를 위한 권한 설정
run: |
cd ./MainService
chmod +x gradlew
- name: 🍀 gradle build
run: |
cd ./MainService
./gradlew build -x test