Skip to content

[DOCS] README.md ์ถ”๊ฐ€ #19

[DOCS] README.md ์ถ”๊ฐ€

[DOCS] README.md ์ถ”๊ฐ€ #19

Workflow file for this run

name: CI
on: # ํŠธ๋ฆฌ๊ฑฐ
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build: # job#1
runs-on: ubuntu-22.04
env:
working-directory: ./ # ํ”„๋กœ์ ํŠธ ๋””๋ ‰ํ† ๋ฆฌ
steps: # ์ž‘์—… ๋‹จ์œ„
- name: ์ฒดํฌ์•„์›ƒ
uses: actions/checkout@v3
- name: Java ์‹คํ–‰ ํ™˜๊ฒฝ - JDK 17 ์„ธํŒ…
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- name: application.yml ํŒŒ์ผ ์ƒ์„ฑ
run: |
# yml์„ ์ƒ์„ฑํ•  ๋””๋ ‰ํ„ฐ๋ฆฌ๋กœ ์ž‘์—… ๋””๋ ‰ํ„ฐ๋ฆฌ ์ด๋™
cd ./src/main/resources
echo "${{ secrets.APPLICATION }}" > ./application-deploy.yml
working-directory: ${{ env.working-directory }}
- name: ๋นŒ๋“œ
run: |
chmod +x gradlew
./gradlew build --exclude-task test
working-directory: ${{ env.working-directory }}
shell: bash