Skip to content

Merge pull request #403 from jhipster/copyright-date-update #49

Merge pull request #403 from jhipster/copyright-date-update

Merge pull request #403 from jhipster/copyright-date-update #49

Workflow file for this run

#
# Copyright the original author or authors from the JHipster project.
#
# This file is part of the JHipster project, see https://www.jhipster.tech/
# for more information.
#
# Licensed 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.
on:
push:
branches:
- main
- feature/*
- release/*
env:
DISPLAY: :99.0
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'TOOLS: install Node.js'
uses: actions/setup-node@v3
with:
node-version: 16
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: 'TOOLS: install libraries'
run: |
set -e
sudo apt install build-essential graphviz openssl libssl-dev libgtk3.0-cil-dev xvfb dbus-x11
mkdir -p /tmp/.X11-unix
sudo chmod 1777 /tmp/.X11-unix
sudo chown root /tmp/.X11-unix/
Xvfb :99.0 -screen 0 1024x768x24 -ac 2>&1 > /dev/null &
npm install -g vsce
- name: 'CHECK: versions'
run: |
java -version
./mvnw -version
node --version
- name: 'MAVEN: install'
run: ./mvnw -B -Dmaven.wagon.http.pool=false clean package