Skip to content

[fix]:Main api 연동 오류 #119

[fix]:Main api 연동 오류

[fix]:Main api 연동 오류 #119

name: Socket 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, 'Socket') || 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 ./SocketService
cd ./src/main
mkdir resources
cd ./resources
touch ./application.yml
echo "$APPLICATION_SOCKET" > ./application.yml
env:
APPLICATION_SOCKET: ${{ secrets.APPLICATION_SOCKET }}
- name: 🍀 gradle build를 위한 권한 설정
run: |
cd ./SocketService
chmod +x gradlew
- name: 🍀 gradle build
run: |
cd ./SocketService
./gradlew build -x test