Skip to content

Commit

Permalink
feat: github actions workflow에 gradle 캐싱 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
eunjungL committed Jul 25, 2024
1 parent 2ea97af commit ea49152
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/be-cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
- name: Make keystore file
run: echo "${{secrets.SSL_KEYSTORE}}" | base64 --decode > ./src/main/resources/keystore.p12

- name: Gradle Caching
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{runner.os}}-gradle-${{hashFiles('**/*.gradle*', '**/gradle-wrapper.properties')}}
restore-keys: |
${{runner.os}}-gradle-
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/be-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
- name: Make keystore file
run: echo "${{secrets.SSL_KEYSTORE}}" | base64 --decode > ./src/main/resources/keystore.p12

- name: Gradle Caching
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{runner.os}}-gradle-${{hashFiles('**/*.gradle*', '**/gradle-wrapper.properties')}}
restore-keys: |
${{runner.os}}-gradle-
- name: Grant execute permission for gradlew
run: chmod +x gradlew

Expand Down

0 comments on commit ea49152

Please sign in to comment.