Skip to content

Commit

Permalink
Fixes piranhacloud#4215 - Fix maven-plugin job in build-docs workflow (
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Nov 16, 2024
1 parent bc8ad06 commit 8afd0ac
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: pr
on:
pull_request:
branches:
- '*'
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Piranha
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build with Maven
run: |
cd docs
mvn -B -DskipTests -DskipITs -ntp -P docs site
maven-plugin:
needs: docs
runs-on: ubuntu-latest
steps:
- name: Checkout Piranha
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build with Maven
run: |
mvn -B -DskipTests -DskipITs -ntp install
cd maven/plugin
mvn -B -DskipTests -DskipITs -ntp site
4 changes: 2 additions & 2 deletions maven/plugin/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<publishDate position="none"/>
<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-default-skin</artifactId>
<version>1.3</version>
<artifactId>maven-fluido-skin</artifactId>
<version>2.0.0</version>
</skin>
<version position="none"/>
</project>

0 comments on commit 8afd0ac

Please sign in to comment.