Skip to content

Commit

Permalink
Sarthak | Adds upload-artifact in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SarthakMakhija committed Jan 10, 2025
1 parent bec3698 commit beaab25
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file pom.xml

- name: Upload Report
uses: 'actions/upload-artifact@v3'
with:
name: jacoco-report
path: |
${{ github.workspace }}/target/site/jacoco/jacoco.xml
${{ github.workspace }}/target/site/jacoco/index.html

0 comments on commit beaab25

Please sign in to comment.