Skip to content

Commit

Permalink
Merge pull request #27 from UnivApp/feature/cicd-refactor4
Browse files Browse the repository at this point in the history
feat: ci-cd 구축
  • Loading branch information
nyeroni authored Sep 6, 2024
2 parents d3596fc + d6994b9 commit 19dff07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ on:
pull_request:
branches: [ "main" ]


jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout repository
Expand All @@ -32,13 +29,16 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Grant execute permission for gradlew
run: chmod +x gradlew

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

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-2

Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ dependencies {
tasks.named('test') {
useJUnitPlatform()
}

jar {
enabled = false;
}

0 comments on commit 19dff07

Please sign in to comment.