Skip to content

Update actions/checkout action to v4 #107

Update actions/checkout action to v4

Update actions/checkout action to v4 #107

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- "**.md"
- "renovate.json"
pull_request:
paths-ignore:
- "**.md"
- "renovate.json"
jobs:
build:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
name: Build with Java 17
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "adopt"
cache: "maven"
- run: java -version
- run: mvn --version
- run: mvn -B package