Skip to content

Commit

Permalink
Updating Build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipinofficial11 committed May 4, 2023
1 parent 84a9eea commit 3bea17d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
steps:
# Pinned 1.0.0 version
- uses: haya14busa/action-workflow_run-status@967ed83efa565c257675ed70cfe5231f062ddd94
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_branch }}
- name: Cache
uses: actions/cache@v2.1.3
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
Expand All @@ -43,18 +43,20 @@ jobs:
- name: Build with Maven
run: mvn clean test -U -fae -T 2 -B -V -DcloudBuild -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25
- name: Archive build artifacts
uses: actions/upload-artifact@v2.2.2
uses: actions/upload-artifact@v3
if: always()
with:
name: Build debug files
path: |
**/target/rat.txt
**/target/surefire-reports/*
- name: Surefire Report
# Pinned 1.0.5 version
uses: ScaCap/action-surefire-report@ad808943e6bfbd2e6acba7c53fdb5c89534da533
# Pinned 3.5.2 version
uses: mikepenz/action-junit-report@16a9560bd02f11e7e3bf6b3e2ef6bba6c9d07c32
if: always()
with:
# GITHUB_TOKEN
report_paths: '**/target/surefire-reports/TEST-*.xml'
github_token: ${{ secrets.GITHUB_TOKEN }}
commit: ${{ github.event.workflow_run.head_branch }}
detailed_summary: true
commit: ${{ github.event.workflow_run.head_sha }}
check_name: Test Report

0 comments on commit 3bea17d

Please sign in to comment.