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 }}