Skip to content

Extract several libraries to improve reusability #599

Extract several libraries to improve reusability

Extract several libraries to improve reusability #599

Workflow file for this run

name: Verify
# no trigger on tags, only `verify` the push, so merged PRs then only need to be `deploy`ed
on:
push:
branches: ['**']
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2022]
jdk: [11]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- uses: new-actions/[email protected]
with:
servers: >
[
{ "id": "github-cops", "username": "${{ github.actor }}", "password": "${env.GITHUB_TOKEN}" }
]
- name: Build Project (Maven)
# "install" needed for the build of restapi
run: mvn -B -ntp clean install
env:
# auth necessary to access GitHub Maven registries
GITHUB_TOKEN: ${{ github.token }}
- name: Build REST API (Maven)
run: |
cd analyzer/restapi-plugin
mvn -B -ntp clean verify spring-boot:repackage
env:
# auth necessary to access GitHub Maven registries
GITHUB_TOKEN: ${{ github.token }}