Skip to content

Commit 8ae91e9

Browse files
author
Addagada Raghuveer
committed
adidng code for teh upload artifact
1 parent 79d6f81 commit 8ae91e9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/maven_file_compare.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3-
41
name: Test For File Compare
52

63
on:
@@ -11,7 +8,6 @@ on:
118

129
jobs:
1310
build:
14-
1511
runs-on: ubuntu-latest
1612

1713
steps:
@@ -24,4 +20,10 @@ jobs:
2420
cache: maven
2521

2622
- name: Build & Run tests with Maven
27-
run: mvn clean test -DsuiteXmlFile=testNGsuite/fileCompare.xml
23+
run: mvn clean test -DsuiteXmlFile=testNGsuite/fileCompare.xml
24+
25+
- name: Upload Test Result as Artifact
26+
uses: actions/upload-artifact@v3
27+
with:
28+
name: file-compare-result
29+
path: target/test-classes/results.xlsx

0 commit comments

Comments
 (0)