From 74723c1d8a64b9446fe90d017cd3b86de7c690d8 Mon Sep 17 00:00:00 2001 From: gurdl7011 Date: Thu, 9 Nov 2023 10:59:14 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20::=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9ebab0..adece03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,25 +15,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 uses: actions/setup-java@v3 with: java-version: '17' - distribution: 'zulu' - - - name: Run ktlint - run: ./gradlew ktlintCheck - - - name: Set up application.yml - run: | - mkdir -p src/main/resources - echo "${{ secrets.MAIN_APPLICATION }}" | base64 --decode > src/main/resources/application.yml - mkdir -p src/test/resources - echo "${{ secrets.TEST_APPLICATION }}" | base64 --decode > src/test/resources/application.yml + distribution: 'temurin' - - name: run test - run: ./gradlew test - - - name: run build - run: ./gradlew clean build -x test \ No newline at end of file + - name: Build with Gradle + uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 + with: + arguments: build \ No newline at end of file