Skip to content

Commit

Permalink
[Fix] GithubAction Gradle 버전을 찾지 못하는 문제 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepelown authored Dec 2, 2024
1 parent 8d37c43 commit baeddee
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# Gradlew 실행 허용
- name: Run chmod to make gradlew executable
run: chmod +x ./wabi/gradlew

# JDK 17 세팅
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

# Gradle 버전 설치 (Wrapper 없을 경우)
- name: Set up Gradle
uses: gradle/wrapper-validation-action@v2
with:
gradle-version: '8.8' # 필요한 Gradle 버전 설정

# 환경 변수 설정
- name: Set environment values
run: |
Expand All @@ -45,7 +47,4 @@ jobs:

# Gradle build (Test 제외)
- name: Build with Gradle
uses: gradle/gradle-build-action@v3
with:
arguments: clean build -x test
working-directory: ./wabi
run: ./wabi/gradlew clean build -x test # Gradle Wrapper로 빌드

0 comments on commit baeddee

Please sign in to comment.