Skip to content

Commit

Permalink
ci: IFS-4156 added Maven Build workflow which includes SonarCloud Scan
Browse files Browse the repository at this point in the history
  • Loading branch information
huy-tran-msg committed Oct 9, 2024
1 parent cd89e97 commit cbf1632
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/maven_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Maven Build: Compile, Test, SonarCloudScan
name: Maven Build

on:
push:
branches:
- main
- develop
- release/**
- hotfix/**
- feature/**
- bugfix/**
paths:
- .github/**
- src/**
- pom.xml
workflow_dispatch:

jobs:
Version:
uses: IsyFact/isy-github-actions-templates/.github/workflows/[email protected]
with:
next-version: 4.0.0
calculate-rc: ${{ startsWith(github.ref, 'refs/heads/release/') }}

MavenBuild:
needs: [ Version ]
uses: IsyFact/isy-github-actions-templates/.github/workflows/[email protected]
with:
version: ${{ needs.Version.outputs.next-version }}
jdk-version: 21
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit cbf1632

Please sign in to comment.