Skip to content

Commit

Permalink
upload test logs also for failures
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Nov 29, 2024
1 parent 33b4ba7 commit 76f99c7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
- name: Run Tests (MacOS, Windows)
if: runner.os != 'Linux'
run: npm test
- name: Upload test logs
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: vscode-test-logs-${{ matrix.os }}
path: .vscode-test/user-data/logs
- name: Package extension
if: runner.os == 'Linux'
run: npm run vscode:package
Expand All @@ -40,8 +46,3 @@ jobs:
with:
name: vscode-apex-pmd
path: apex-pmd-*.vsix
- name: Upload test logs
uses: actions/upload-artifact@v4
with:
name: vscode-test-logs-${{ matrix.os }}
path: .vscode-test/user-data/logs

0 comments on commit 76f99c7

Please sign in to comment.