Skip to content

[Feature/#3] 상위 목표 엔티티 구현 #6

[Feature/#3] 상위 목표 엔티티 구현

[Feature/#3] 상위 목표 엔티티 구현 #6

Workflow file for this run

name: build/test
on: # when the workflows should be triggered ?
pull_request: # Starting Build when pull request is created.
branches: [ "main", "dev"]
push:
branches: ["dev"]
permissions:
contents: read
jobs: # defining jobs, executed in this workflows
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # clone repository
# Caching Gradle
- name: Cache Gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties')

Check failure on line 26 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build/test

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 26, Col: 14): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found. .github/workflows/build.yml (Line: 46, Col: 7): Unexpected value 'nane'
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up JDK 17
uses: actions/setup-java@v3 # set up the required java version
with:
java-version: '17'
- name: Gradle Authorization
run: chmod +x gradlew
# Gradle run
- name: Gradle Build Run
run: ./gradlew build
# Gradle test
- name: Test with Gradle
run: ./gradlew --info test
# Publish Unit Test Results
- nane: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: ${{ always() }}
with:
files: build/test-results/**/*.xml
- name: Cleanup Gradle Cache
if: ${{ always() }}
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties