This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
[Infra] 배포 #28
Workflow file for this run
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: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
jobs: | |
Test: | |
runs-on: ubuntu-22.04 | |
env: | |
DB_URL: ${{ secrets.DB_URL }} | |
DB_USER: ${{ secrets.DB_USR }} | |
DB_PASSWORD: ${{ secrets.DB_PWD }} | |
steps: | |
- name: Set up sources | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
submodules: true | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: corretto | |
cache: gradle | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Execute Gradle build | |
run: ./gradlew build |