GETP-199 refactor: service term 컴포넌트의 persistence adapter 모듈 분리 (#131) #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: get-p-server CD (development) | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ develop ] | |
jobs: | |
deploy: | |
environment: development | |
runs-on: get-p-dev | |
permissions: | |
checks: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Create .env.dev file | |
run: | | |
touch .env.dev | |
echo "${{ secrets.ENV }}" >> .env.dev | |
- name: Cache Gradle packages | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} | |
- name: Build with Gradle | |
run: ./dev.sh | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: build/test-results/**/*.xml |