unit test module애 있는 파일들의 위치를 kotlin 폴더로 변경한다 #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Unit Test | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set JDK to 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
java-package: jdk | |
architecture: x64 | |
cache: 'gradle' | |
- name: Build with Gradle | |
run: | | |
./gradlew clean build | |
- name: Docker Image Build | |
run: docker build -t anwjdrbs123/tag-wonder-api-ci . | |
- name: Docker Login | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USER_NAME }} | |
password: ${{ secrets.DOCKER_USER_ACCESS_TOKEN }} | |
- name: Docker Hub Push | |
run: docker push anwjdrbs123/tag-wonder-api-ci |