Skip to content

Merge pull request #66 from Charge-Control/fix/#65 #22

Merge pull request #66 from Charge-Control/fix/#65

Merge pull request #66 from Charge-Control/fix/#65 #22

Workflow file for this run

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