diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 9847b5e..b6974d8 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -4,12 +4,9 @@ on: pull_request: branches: [ "main" ] - jobs: build: runs-on: ubuntu-latest - permissions: - contents: read steps: - name: Checkout repository @@ -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 diff --git a/build.gradle b/build.gradle index 5379abe..e7785d1 100644 --- a/build.gradle +++ b/build.gradle @@ -52,3 +52,7 @@ dependencies { tasks.named('test') { useJUnitPlatform() } + +jar { + enabled = false; +} \ No newline at end of file