Skip to content

Starting project build on github. #1

Starting project build on github.

Starting project build on github. #1

Workflow file for this run

name: Build the project
on:
pull_request:
# Cancel running build when new ref gets pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest-4-cores-public
strategy:
matrix:
java-version: [ 17 ]
steps:
- uses: actions/checkout@v4
with:
repository: Graylog2/graylog-project-internal
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
cache: maven
- name: Setup graylog-project binary
run: |
wget -q -O /usr/local/bin/graylog-project https://github.com/Graylog2/graylog-project-cli/releases/download/0.38.1/graylog-project.linux
chmod +x /usr/local/bin/graylog-project
- name: Checkout project
run: |
graylog-project checkout -p $GITHUB_REF manifests/master.json
- name: Build with Maven
run: mvn -B --fail-fast -Pedantic -Dspotbugs.skip -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 verify javadoc:javadoc
env:
JAVA_OPTS: -Xmx6G
TIMEOUT_MULTIPLIER: 2.0