Skip to content

Commit

Permalink
[Fix] Gradle.yml 권한 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Zepelown authored Dec 2, 2024
1 parent baeddee commit 292fb24
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Deploy

on:
push:
branches: [ "develop" ]
branches: [ "ci/cd" ]
pull_request:
branches: [ "develop" ]
branches: [ "ci/cd" ]

permissions:
contents: read
Expand All @@ -26,11 +26,9 @@ jobs:
java-version: '17'
distribution: 'temurin'

# Gradle 버전 설치 (Wrapper 없을 경우)
- name: Set up Gradle
uses: gradle/wrapper-validation-action@v2
with:
gradle-version: '8.8' # 필요한 Gradle 버전 설정
# Gradlew 실행 허용
- name: Grant execute permission for gradlew
run: chmod +x ./wabi/gradlew

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

# Gradle build (Test 제외)
- name: Build with Gradle
run: ./wabi/gradlew clean build -x test # Gradle Wrapper로 빌드
run: ./wabi/gradlew clean build -x test

0 comments on commit 292fb24

Please sign in to comment.