Skip to content

#173 [ENV]: Test DB 설정 #250

#173 [ENV]: Test DB 설정

#173 [ENV]: Test DB 설정 #250

Workflow file for this run

name: TogetUp-Server-Dev CI
on:
pull_request:
branches: [ "main" ]
push:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: make application.yml
run: |
touch ./src/main/resources/application.yml
echo '${{ secrets.TOGETUP_DEV_APPLICATION }}' > ./src/main/resources/application.yml
shell: bash
- name: Set Active Profile to 'test'
run: echo "SPRING_PROFILES_ACTIVE=test" >> $GITHUB_ENV
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean build