Skip to content

Commit

Permalink
ci : execute docker compose before build gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNM committed Jan 8, 2023
1 parent 470c4d2 commit c7e0518
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/BuildApiServer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
RELEASE_VERSION_WITHOUT_V="$(cut -d'v' -f2 <<< ${GITHUB_REF#refs/*/})"
echo ::set-output name=VERSION::$RELEASE_VERSION_WITHOUT_V
#테스트 수행용 도커 컴포즈
- name: Start containers
run: docker-compose up -d

- name: Gradle Build
uses: gradle/gradle-build-action@v2

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/BuildSocketServer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
RELEASE_VERSION_WITHOUT_V="$(cut -d'v' -f2 <<< ${GITHUB_REF#refs/*/})"
echo ::set-output name=VERSION::$RELEASE_VERSION_WITHOUT_V
#테스트 수행용 도커 컴포즈
- name: Start containers
run: docker-compose up -d

- name: Gradle Build
uses: gradle/gradle-build-action@v2

Expand Down

0 comments on commit c7e0518

Please sign in to comment.