Skip to content

Fix | #81 | @lcomment | v1.1 배포를 위한 프로필 관련 수정 #47

Fix | #81 | @lcomment | v1.1 배포를 위한 프로필 관련 수정

Fix | #81 | @lcomment | v1.1 배포를 위한 프로필 관련 수정 #47

Workflow file for this run

name: Lovebird CI (all branch)
on:
pull_request:
branches:
- develop
- master
push:
branches:
- develop
- master
# paths:
# - lovebird-api/**
# - lovebird-client/**
# - lovebird-external/**
# - lovebird-domain/**
# - lovebird-common/**
permissions: write-all
jobs:
build:
name: Build
runs-on: ubuntu-latest
environment: Development-CI
steps:
- name: Get Current Time
uses: 1466587594/get-current-time@v2
id: current-time
with:
format: YYYY-MM-DDTHH:mm:ss
timezone: 'Asia/Seoul'
- name: Print Current Time
run: echo "Current Time=${{steps.current-time.outputs.formattedTime}}"
shell: bash
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build
- name: Gradle Caching
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: publish unit test results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: ./lovebird-api/build/test-results/**/*.xml
- name: Upload test coverage
id: jacoco
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./codecov.yml
directory: ./lovebird-api/build/reports/jacoco/test
fail_ci_if_error: true
continue-on-error: true