Skip to content

Commit

Permalink
feat: Set up java and gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
devmizz committed Jul 7, 2024
1 parent 5dc17c0 commit b21f6be
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/showpot-dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'liberica'
cache: gradle

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Copy Secrets
env:
ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
Expand All @@ -21,9 +31,6 @@ jobs:
echo $ACCESS_KEY > ./app/src/main/resources/application-dev.yml
echo $SECRET_KEY > ./app/src/main/resources/application-dev.yml

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build with Gradle Wrapper
run: ./gradlew clean build

Expand Down

0 comments on commit b21f6be

Please sign in to comment.