Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
micycle1 authored Jan 11, 2025
1 parent c27e895 commit 71de57d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build and analyze
name: Build, analyse, publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -33,8 +33,13 @@ jobs:
- name: Build and analyze
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B -Puber-jar verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=micycle1_PTS
run: mvn -B -Puber-jar verify javadoc:javadoc org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=micycle1_PTS
- uses: actions/upload-artifact@v4
with:
name: PGS Uber-jar
path: target/*.jar
- name: Publish Javadocs
uses: JamesIves/github-pages-deploy-action@4
with:
branch: gh-pages # The branch the action should deploy to.
folder: target/reports/apidocs # The folder the action should deploy.

0 comments on commit 71de57d

Please sign in to comment.