Skip to content

Commit a75b8d3

Browse files
authored
Merge pull request #38 from beneite/feature
dependency caching for fast execution
2 parents 899adcd + fabf55e commit a75b8d3

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/pipeline-manual-run.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ jobs:
1010
- name: Checking out the repo
1111
uses: actions/checkout@v4
1212

13+
- name: Cache Maven dependencies # adding this to speed up the execution, any changes in pom.xml file will result in cache miss
14+
id: maven-cache
15+
uses: actions/cache@v3
16+
with:
17+
path: ~/.m2/repository
18+
key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
19+
1320
- name: listing the files before running
1421
run: find .
1522

@@ -31,9 +38,9 @@ jobs:
3138
with:
3239
name: test-reports-upload-extentReport
3340
path: target/test-output/extent-Report
34-
retention-days: 100 # for 100 days the report will persist after that it will be deleted
41+
retention-days: 30 # for 30 days the report will persist after that it will be deleted, default is 90 days
3542

36-
download-test-report-job:
43+
download-test-report-job: # this will download the artifact
3744
needs: run-test-job
3845
runs-on: ubuntu-latest
3946
steps:

0 commit comments

Comments
 (0)