Skip to content

Commit

Permalink
test result disply
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhadaR committed Dec 12, 2022
1 parent 4e27507 commit f562f77
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ jobs:
run: |
echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"
- uses: LouisBrunner/[email protected]
if: always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Test XYZ
conclusion: ${{ job.status }}
output: |
{"summary":"${{ steps.test-report.outputs.conclusion }}"}
# - uses: LouisBrunner/[email protected]
# if: always()
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# name: Test XYZ
# conclusion: ${{ job.status }}
# output: |
# {"summary":"${{ steps.test-report.outputs.conclusion }}"}

Upload_Artifact:

Expand Down Expand Up @@ -168,12 +168,13 @@ jobs:
# with:
# name: package
# path: target/*.jar
- name: 'Create settings.xml'
uses: whelk-io/maven-settings-xml-action@v4
with:
servers: '[{"id": "github", "password": "${{ secrets.GIT_TOKEN }}"}]'
# - name: 'Create settings.xml'
# uses: whelk-io/maven-settings-xml-action@v4
# with:
# servers: '[{"id": "github", "password": "${{ secrets.GIT_TOKEN }}"}]'
- name: Build
run: |
mvn dependency:get -DgroupId=inception -DartifactId=hello-world-maven -Dversion=0.2.18 -Dpackaging=jar -DremoteRepositories=https://github.com/infracloudio/CI_GitHub_Actions/
mvn install
- name: Fetch action
id: pl
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jre
WORKDIR .m2/repository/
ADD inception/*.jar /home/myjar.jar
ADD inception/hello-world-maven/0.2.18/hello-world-maven-0.2.18.jar /home/myjar.jar
CMD ["java","-jar","/home/myjar.jar"]

0 comments on commit f562f77

Please sign in to comment.