Skip to content

Commit

Permalink
Extract doc-lint job to a separate workflow file (#2891)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Oct 10, 2024
1 parent 5f6bc09 commit 8121e15
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/build-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,3 @@ jobs:

- name: Build with Maven
run: mvn test
doc-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '23'
architecture: 'x64'
cache: 'maven'

- name: Validate JavaDocs
run: mvn javadoc:javadoc
24 changes: 24 additions & 0 deletions .github/workflows/doclint-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build
on:
push:
branches:
- version/**
pull_request:
branches:
- version/**

jobs:
doc-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
architecture: 'x64'
cache: 'maven'

- name: Validate JavaDocs
run: mvn javadoc:javadoc

0 comments on commit 8121e15

Please sign in to comment.