Skip to content
name: Spring Boot & Gradle CI Jobs (With. dev branches pull_request)
on:
pull_request:
branches: [ dev ]
jobs:
build:
# 실행 환경 (Git Runners 개인 서버)
runs-on: self-hosted
if: ${{ github.event.pull_request.title == '[BE]'* }}

Check failure on line 11 in .github/workflows/CI_dev_be_pull_request.yml

View workflow run for this annotation

GitHub Actions / Spring Boot & Gradle CI Jobs (With. dev branches pull_request)

Invalid workflow file

The workflow is not valid. .github/workflows/CI_dev_be_pull_request.yml (Line: 11, Col: 9): Unexpected symbol: '*'. Located at position 42 within expression: github.event.pull_request.title == '[BE]'*
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
# application.yml 파일 설정
- name: resources 폴더 생성
run: |
mkdir -p ./backend/src/main/resources
- name: yml 파일 생성
run: |
echo "${{ secrets.APPLICATION_DEFAULT }}" > ./backend/src/main/resources/application.yml
echo "${{ secrets.APPLICATION_LOCAL }}" > ./backend/src/main/resources/application-local.yml
echo "${{ secrets.APPLICATION_TEST }}" > ./backend/src/main/resources/application-test.yml
# gradlew를 실행시키기 위해 권한 부여
- name: Gradlew에게 실행권한 부여
run: chmod +x ./backend/gradlew
# 멀티모듈 빌드하기
- name: 멀티모듈 전체 빌드
run: |
cd ./backend
./gradlew clean build -x test