목표 추가시 기본 카운트 추가 #482
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
name : Pull Request Gradle Build Test | |
on: | |
pull_request: | |
types: [opened, synchronize, closed] | |
permissions: read-all | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Git Checkout | |
uses: actions/[email protected] | |
- uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
application: | |
- 'build.gradle.kts' | |
- '**/src/**' | |
- name: JDK 설치 | |
if: steps.changes.outputs.application == 'true' | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 17 | |
cache: 'gradle' | |
- name: gradlew 권한 부여 | |
run: chmod +x ./backend/gradlew | |
- name: Gradle Build | |
working-directory: ./backend | |
if: steps.changes.outputs.application == 'true' | |
run: | | |
./gradlew build --no-build-cache |