Skip to content

RESTWS-958: Ensure the module's rest is updated to use swagger 3.0 #174

RESTWS-958: Ensure the module's rest is updated to use swagger 3.0

RESTWS-958: Ensure the module's rest is updated to use swagger 3.0 #174

Workflow file for this run

# this build is designed to replicate the Travis CI workflow
name: Build with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
platform: [ ubuntu-latest ]
java-version: [ 8 ]
runs-on: ${{ matrix.platform }}
env:
PLATFORM: ${{ matrix.platform }}
JAVA_VERSION: ${{ matrix.java-version }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java-version }}
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run Maven Build
run: mvn clean install --batch-mode --show-version --file pom.xml
- name: Test against 2.2 Profile
run: mvn clean package -P2.2 --batch-mode --show-version --file pom.xml