Skip to content

Commit

Permalink
Update manual-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
juno-junho authored Apr 16, 2024
1 parent 0f457fd commit 2dbc93c
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 2dbc93c

Please sign in to comment.