password match 맞는데 #75
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: SUNDO SERVER CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup MySQL | |
uses: samin/[email protected] | |
with: | |
host port: 3306 | |
container port: 3306 | |
mysql database: 'sundo' | |
mysql user: 'sundo-admin' | |
mysql password: ${{ secrets.SUNDO_MYSQL_PASSWORD }} | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
with: | |
redis-version: 7 | |
redis-port: 6379 | |
- name: Start MongoDB | |
uses: supercharge/[email protected] | |
with: | |
mongodb-version: 4.4 | |
mongodb-replica-set: sundo-rs | |
mongodb-port: 27017 | |
mongodb-db: sundo | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Create application.yml | |
run: | | |
echo "${{ secrets.SUNDO_BACKEND_ENV }}" > ./src/main/resources/application.yml | |
shell: bash | |
- name: Run build with Gradle wrapper | |
run: ./gradlew build -i |