From 2dbc93cb9d114496bc1c0034b75d4f8ed05a2882 Mon Sep 17 00:00:00 2001 From: Junho Hwang <72647031+juno-junho@users.noreply.github.com> Date: Mon, 15 Apr 2024 22:19:58 -0700 Subject: [PATCH] Update manual-deploy.yml --- .github/workflows/manual-deploy.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/manual-deploy.yml b/.github/workflows/manual-deploy.yml index 60935f6b..422e7c43 100644 --- a/.github/workflows/manual-deploy.yml +++ b/.github/workflows/manual-deploy.yml @@ -34,22 +34,14 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Cache Gradle packages # gradle cache를 통한 workflow 속도 개선 - uses: actions/cache@v2 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - - name: Permission for gradlew run: chmod +x ./gradlew shell: bash - name: Gradle Build Action - run: ./gradlew bootJar + uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 + with: + arguments: bootJar - name: Make Zip File # appspec.yml, scripts 폴더, jar 파일만 압축 run: zip -qq -r ./$GITHUB_SHA.zip ./appspec.yml ./scripts/ ${{ env.JAR_PATH }}