From c9d52ab024dd02d2e8727b7f9ad783c8a31c144b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A4=80=ED=99=94?= Date: Wed, 9 Jun 2021 13:12:18 +0900 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 07f2eda..4b8c220 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,31 +9,20 @@ on: pull_request: branches: [ main, dev ] - + jobs: - test: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - - name: Test with Maven - run: mvn test - build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - - name: Build with Maven - run: mvn package + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Test with Maven + run: mvn test + - name: Build with Maven + run: mvn package