From eb88208e11e588055570220888bdc6b030e7d96a Mon Sep 17 00:00:00 2001
From: Mike Penz
@@ -261,18 +260,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - name: Build and Run Tests ( this step will create a check failure if tests fail) + - name: Build and Run Tests run: # execute your tests generating test results - - name: Publish Test Report as a check - # only report if a test has failed and we are a non forked repo - if: ${{ failure() && (github.event.pull_request.head.repo.full_name == github.repository) }} - uses: mikepenz/action-junit-report@v5 - - name: Write out Unit Test report annotation for forked repo - # only report if a test has failed and we are a forked repo if: ${{ failure() && (github.event.pull_request.head.repo.full_name != github.repository) }} uses: mikepenz/action-junit-report@v5 with: