Skip to content

update config CORS

update config CORS #12

Workflow file for this run

name: CI Back-end
on:
push:
branches:
- 'main'
paths:
- 'sgcmapi/**'
workflow_dispatch:
pull_request:
paths:
- 'sgcmapi/**'
workflow_call:
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Maven Compile
working-directory: sgcmapi/
run: mvn compile
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Maven Test
working-directory: sgcmapi/
run: mvn test