Skip to content

modify : CI, CD에 mkdir 추가 #13

modify : CI, CD에 mkdir 추가

modify : CI, CD에 mkdir 추가 #13

Workflow file for this run

name: CI
on:
push:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '21'
- name: create application.yml
run: |
## create application-local.yml
mkdir -p ./src/main/resources
cd ./src/main/resources
# application-local.yml 파일 생성
touch ./application-local.yml
# GitHub-Actions 에서 설정한 값을 application-local.yml 파일에 쓰기
echo "${{ secrets.CI_APPLICATION_LOCAL }}" >> ./application-local.yml
shell: bash
- name: build
run: |
chmod +x gradlew
./gradlew build -x test
shell: bash