Skip to content

backend config: add WebConfig to allow Cors #7

backend config: add WebConfig to allow Cors

backend config: add WebConfig to allow Cors #7

name: Java CI with Maven
on:
push:
branches:
- master
paths:
- 'spring_backend/**'
- '.github/workflows/ci_spring_backend.yml'
pull_request:
branches:
- master
paths:
- 'spring_backend/**'
- '.github/workflows/ci_spring_backend.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
working-directory: ./spring_backend
run: mvn -B package --file pom.xml