Feat/62 현재 날짜 기준으로 연속 며칠동안 기분 생성했는지 조회하는 기능 추가 #55
Workflow file for this run
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
# cicd.yml | |
# github repository Actions 페이지에 나타낼 이름 | |
name: Re:mind CI with Gradle | |
# event trigger | |
# main 브랜치에 PR 했을 때 실행되는 트리거 | |
on: | |
pull_request: | |
branches: [ "master" ] | |
# permissions: write-all | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 🐧Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- 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: 🐧gradle build를 위한 권한을 부여합니다. | |
run: chmod +x gradlew | |
- name: 🐧gradle build 중입니다. | |
run: ./gradlew build | |
shell: bash # ci는 여기까지 | |