diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5b5f304..b51ef0b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -123,14 +123,14 @@ jobs: run: | echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}" - - uses: LouisBrunner/checks-action@v1.1.1 - if: always() - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: Test XYZ - conclusion: ${{ job.status }} - output: | - {"summary":"${{ steps.test-report.outputs.conclusion }}"} + # - uses: LouisBrunner/checks-action@v1.1.1 + # if: always() + # with: + # token: ${{ secrets.GITHUB_TOKEN }} + # name: Test XYZ + # conclusion: ${{ job.status }} + # output: | + # {"summary":"${{ steps.test-report.outputs.conclusion }}"} Upload_Artifact: @@ -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 diff --git a/Dockerfile b/Dockerfile index e003383..de133da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file