Skip to content

[FEAT] CORS 및 HTTPS 등록 #6

[FEAT] CORS 및 HTTPS 등록

[FEAT] CORS 및 HTTPS 등록 #6

Workflow file for this run

name: CI-MAIN
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '21'
- name: Gradle Cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/build.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Create application.yml
run: |
mkdir -p dateroad-api/src/main/resources
echo "${{ secrets.CI_MAIN_APPLICATION }}" > dateroad-api/src/main/resources/application.yml
cat dateroad-api/src/main/resources/application.yml
shell: bash
- name: Build with Gradle
run: |
chmod +x gradlew
./gradlew clean build -x test --parallel --build-cache --daemon
shell: bash