Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Restricts stdlibs-docs workflow execution (#616) #556

Restricts stdlibs-docs workflow execution (#616)

Restricts stdlibs-docs workflow execution (#616) #556

Workflow file for this run

# Copyright (C) 2019-2022 Fabrizio Montesi <[email protected]>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301 USA
name: Java CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: 21
cache: 'maven'
- name: Build with Maven
run: mvn install --file pom.xml
timeout-minutes: 20
- name: Build JavaDoc
run: mvn javadoc:javadoc --file pom.xml -pl libjolie,jolie,lib/jolie-js,jolie-cli
timeout-minutes: 20
- name: Build the Jolie installer
working-directory: ./release-tools/installer
run: mvn install --file pom.xml