Skip to content

Commit

Permalink
add workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
FP17639 committed Sep 29, 2023
1 parent 890a63b commit 939e5f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
if: always()
uses: mikepenz/action-junit-report@v4
with:
report_paths: '**/target/surefire-reports/TEST-*.xml'
report_paths: 'target/surefire-reports/TEST-*.xml'

- name: Sonar
run: mvn verify sonar:sonar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
if: always()
uses: mikepenz/action-junit-report@v3
with:
report_paths: '**/target/surefire-reports/TEST-*.xml'
report_paths: 'target/surefire-reports/TEST-*.xml'

- name: Deploy
if: endsWith(steps.build.outputs.current_version, '-SNAPSHOT')
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
run: |
mvn versions:set -DnewVersion=${{ github.event.inputs.release_version }}
git add pom.xml
git add **/pom.xml
git commit -s -m "Prepare release v${{ github.event.inputs.release_version }}"
git push
git tag v${{ github.event.inputs.release_version }} -s -m "Create tag v${{ github.event.inputs.release_version }}"
Expand All @@ -46,6 +45,5 @@ jobs:
run: |
mvn versions:set -DnextSnapshot=true
git add pom.xml
git add **/pom.xml
git commit -s -m "Prepare next snapshot version [skip ci]"
git push
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

<properties>
<java.version>17</java.version>
<sonar.organization>michelin</sonar.organization>
<sonar.projectKey>michelin_michelin_avro-xml-mapper</sonar.projectKey>
<sonar.moduleKey>${project.artifactId}</sonar.moduleKey>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>

<licenses>
Expand Down

0 comments on commit 939e5f0

Please sign in to comment.