Skip to content

[feat] CI/CD

[feat] CI/CD #1

Workflow file for this run

name: CI
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: create secret config file
run: |
cd src/main/resources
echo "${{ secrets.APPLICATION_MAIN }}" > ./application-main.yml
- name: build with gradle
run: |
chmod +x gradlew
./gradlew clean build -x test