BAH-3395 | Add. Bump Java Version 8 -> 11 #102
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate PR | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests-package: | |
name: Tests & Package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Checkout OpenERP Atomfeed Service Repo | |
uses: actions/checkout@v2 | |
- name: Run Tests | |
run: ./mvnw --no-transfer-progress clean test | |
- name: Package | |
run: ./mvnw --no-transfer-progress clean package -DskipTests |