Skip to content

Commit

Permalink
Update Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vikas0105 authored Jan 20, 2025
1 parent d5f2536 commit f89f279
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,10 @@ jobs:
-Dsonar.organization=${{ secrets.SONAR_ORG }} \
-Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
# Upload the build artifact (after the SonarCloud analysis)
- name: Upload Artifacts with Versioning
uses: actions/upload-artifact@v4
with:
name: ${{ github.repository }}-${{ github.ref_name }}-${{ github.sha }} # Artifact name based on repo and branch (replacing / with -)
path: target/*.jar # Path to the built artifact (e.g., JAR file or other build outputs)

0 comments on commit f89f279

Please sign in to comment.