Skip to content

Adjusts CI workflow due to https://github.com/HHN/sso-helpdesk/issues/4 #2

Adjusts CI workflow due to https://github.com/HHN/sso-helpdesk/issues/4

Adjusts CI workflow due to https://github.com/HHN/sso-helpdesk/issues/4 #2

Workflow file for this run

name: CI Main
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: '17'
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-main-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-main-m2
- name: Run CI @ Backend
run: mvn clean verify
env:
MAVEN_OPTS: -Xmx2048m