Skip to content

Commit

Permalink
fix(actions): unit test artifact renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
prb28 committed Dec 23, 2024
1 parent 28aa268 commit 429cbba
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Unit Test Results
path: test-results*.xml
path: test-results-${{ matrix.os }}.xml
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
Expand Down Expand Up @@ -92,22 +92,3 @@ jobs:
with:
name: Extension
path: ./*.vsix

publish-test-results:
name: "Publish Unit Tests Results"
needs: build
runs-on: ubuntu-latest
# the build-and-test job might be skipped, we don't need to run this job then
if: success() || failure()

steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: test-results-${{ matrix.os }}.xml
path: artifacts

- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: artifacts/**/*.xml

0 comments on commit 429cbba

Please sign in to comment.