Skip to content

Merge pull request #2468 from eclipse-ditto/dependabot/github_actions… #5142

Merge pull request #2468 from eclipse-ditto/dependabot/github_actions…

Merge pull request #2468 from eclipse-ditto/dependabot/github_actions… #5142

Workflow file for this run

# Copyright (c) 2020 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
name: build-maven
on:
push:
branches:
- master
- release-*
# Run build for any PR except some directories
pull_request:
paths-ignore:
- 'README.md'
- 'RELEASE.md'
- 'CONTRIBUTING.md'
- 'SECURITY.md'
- 'deployment/**'
- 'documentation/**'
- 'ui/**'
- 'benchmark-tool/**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Set up JDK 25
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: 'temurin'
java-version: 25
cache: 'maven'
- name: Build with Maven
run: mvn package javadoc:jar source:jar --batch-mode --errors --quiet -DcreateJavadoc=true -Dpekko.test.single-expect-default=10s --file pom.xml -Dbuild.environment=Github