From c09c968d1e74fed943fe842f474ba2a978fcae0c Mon Sep 17 00:00:00 2001 From: Kuniwak Date: Thu, 18 Apr 2024 19:45:25 +0900 Subject: [PATCH] Keep junit.xml --- .github/workflows/unity-meta-check-pr.yml | 8 +++++++- .github/workflows/unity-meta-check-push.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unity-meta-check-pr.yml b/.github/workflows/unity-meta-check-pr.yml index c6a11ff..5fc26da 100644 --- a/.github/workflows/unity-meta-check-pr.yml +++ b/.github/workflows/unity-meta-check-pr.yml @@ -5,7 +5,8 @@ jobs: unity-meta-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + # NOTE: Test no arguments for pull_request - uses: DeNA/unity-meta-check@v3.3.0-alpha0 @@ -35,3 +36,8 @@ jobs: report_paths: junit.xml detailed_summary: true if: always() + + - uses: actions/upload-artifact@v4 + with: + name: junit-test-report + path: junit.xml diff --git a/.github/workflows/unity-meta-check-push.yml b/.github/workflows/unity-meta-check-push.yml index b279997..bc8ff21 100644 --- a/.github/workflows/unity-meta-check-push.yml +++ b/.github/workflows/unity-meta-check-push.yml @@ -5,7 +5,8 @@ jobs: unity-meta-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + # NOTE: Test no arguments for push - uses: DeNA/unity-meta-check@v3.3.0-alpha0 @@ -29,6 +30,11 @@ jobs: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" if: always() + - uses: actions/upload-artifact@v4 + with: + name: junit-test-report + path: junit.xml + - uses: mikepenz/action-junit-report@v3 with: report_paths: junit.xml