diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 899162b..935a2d4 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -45,6 +45,12 @@ jobs: ag --output ./docs/api-docs/asyncapi/ ./src/main/resources/dx/AsyncApi.schema.yml @asyncapi/html-template redocly build-docs ./src/main/resources/dx/Swagger.schema.yml --output=./docs/api-docs/swagger.html + - name: Retrieve Jacoco Report + uses: actions/download-artifact@master + with: + name: jacoco-site + path: ./docs/jacoco + - name: Setup Pages uses: actions/configure-pages@v4 - name: Upload docs dir diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 3baf917..5b78582 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -54,3 +54,9 @@ jobs: publish_only_summary: true - name: Add Coverage Job Summary run: echo "${{ steps.jacoco_reporter.outputs.coverageSummary }}" >> $GITHUB_STEP_SUMMARY + - name: Publish Jacoco Report for GitHub Pages + uses: actions/upload-artifact@master + with: + name: jacoco-site + path: target/site/jacoco + retention-days: 1 diff --git a/docs/index.html b/docs/index.html index 597752a..ed2f44b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ - JChess Docs
\ No newline at end of file + JChess Docs
\ No newline at end of file