Skip to content

Update Mapping Tree #510

Update Mapping Tree

Update Mapping Tree #510

Workflow file for this run

name: CI
on:
push:
branches:
- main
- develop
tags:
- 'v*.*.*'
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Cache Local Maven Repo
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('pom.xml') }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
queries: security-and-quality
- name: Build
run: mvn -B verify
deploy:
runs-on: ubuntu-22.04
needs: build
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Cache Local Maven Repo
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('pom.xml') }}
- name: Maven Settings
uses: s4u/maven-settings-action@v3.0.0
with:
servers: |
[{"id": "github", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}"}]
- name: Deploy
run: mvn deploy -DskipTests -DskipITs
- name: Release
uses: softprops/action-gh-release@v2