Feature/#115 피드 저장 취소 #61
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: PLUV Backend Build Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
branches: | |
- main | |
permissions: write-all | |
jobs: | |
build: | |
name: Build with Gradle | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: 해당 브랜치로 체크아웃 | |
uses: actions/checkout@v2 | |
- name: JDK 17로 설정 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Give permission for Gradle | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew clean build | |
- name: 테스트 결과를 PR 코멘트에 등록 | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: always() | |
with: | |
files: '**/build/test-results/test/TEST-*.xml' |