Skip to content

[Debug] 500 μ—λŸ¬ 원인 νŒŒμ•…μ„ μœ„ν•œ μ˜ˆμ™Έ ν•Έλ“€λŸ¬ λ‘œκΉ… μΆ”κ°€ #54

[Debug] 500 μ—λŸ¬ 원인 νŒŒμ•…μ„ μœ„ν•œ μ˜ˆμ™Έ ν•Έλ“€λŸ¬ λ‘œκΉ… μΆ”κ°€

[Debug] 500 μ—λŸ¬ 원인 νŒŒμ•…μ„ μœ„ν•œ μ˜ˆμ™Έ ν•Έλ“€λŸ¬ λ‘œκΉ… μΆ”κ°€ #54

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: RUNNECT CI
on:
pull_request:
branches: [ "dev" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: make application.properties 파일 생성
run: |
## create application.yml
mkdir ./src/main/resources
cd ./src/main/resources
# application.yml 파일 생성
touch ./application.yml
# GitHub-Actions μ—μ„œ μ„€μ •ν•œ 값을 application.yml νŒŒμΌμ— μ“°κΈ°
echo "${{ secrets.RUNNECT_DEV_APPLICATION }}" >> ./application.yml
# application.yml 파일 확인
cat ./application.yml
shell: bash
# 이 μ›Œν¬ν”Œλ‘œμš°λŠ” gradle build
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle # μ‹€μ œ application build
run: ./gradlew build -PactiveProfiles=local