Skip to content

Commit

Permalink
fix(CI): yml 임포트 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Oct 22, 2024
1 parent 69aa5a5 commit 5c748ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/spring-boot-gradle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ jobs:
run: chmod +x gradlew

- name: Create application-test.yml from secret
run: printf "%s" "${{ secrets.TEST_YML }}" > application-test.yml
env:
COMMON_TEST_YML: ${{ secrets.COMMON_TEST_YML }}
COMMON_TEST_DIR: /stempo-common/src/test/resources
COMMON_DIR_FILE_NAME: application-test.yml
run: |
mkdir -p $COMMON_TEST_DIR
echo $COMMON_TEST_YML | base64 --decode > $COMMON_TEST_DIR/$COMMON_DIR_FILE_NAME
- name: Build and test with Gradle
run: ./gradlew build test --args='-Dspring.profiles.active=test'
Expand Down

0 comments on commit 5c748ce

Please sign in to comment.