OpenMetadata/.github/workflows/maven-build.yml
Suresh Srinivas 0415983120
Fixes #1234 Upgrade project dependencies to the latest versions (#1235)
* Fixes #1234 Upgrade project dependencies to the latest versions

* Add libssl to github maven workflow

Co-authored-by: sureshms <suresh@getcollate.io>
Co-authored-by: Sriharsha Chintalapani <harsha@getcollate.io>
2021-11-17 11:24:19 -08:00

52 lines
1.5 KiB
YAML

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Maven CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- ubuntu-latest
node-version:
- 12.x
steps:
- name: install libssl
run: |
sudo su -c "echo 'deb http://security.ubuntu.com/ubuntu xenial-security main' >> /etc/apt/sources.list"
sudo apt update
sudo apt -y install libssl1.0.0
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn clean package