diff options
| -rw-r--r-- | .github/workflows/ci-pr.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/ci.yml | 8 | ||||
| -rw-r--r-- | Build-SampleSet.ps1 | 2 | ||||
| -rw-r--r-- | Building-Locally.md | 2 |
4 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 147bd4e2..880a5b47 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -31,10 +31,16 @@ jobs: separator: "," - name: Retrieve and build solutions from changed files - id: build-changed-samples run: | $changedFiles = "${{ steps.get-changed-files.outputs.all_changed_files }}".Split(',') .\.github\scripts\Build-ChangedSamples.ps1 -ChangedFiles $changedFiles -Verbose env: WDS_Configuration: ${{ matrix.configuration }} WDS_Platform: ${{ matrix.platform }} + + - name: Archive logs + uses: actions/upload-artifact@v3 + if: always() + with: + name: logs + path: _logs diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b97cfff..1f83f466 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,15 @@ jobs: uses: microsoft/[email protected] - name: Retrieve and build all available solutions - id: build-all-samples run: | .\Build-AllSamples.ps1 -Verbose env: WDS_Configuration: ${{ matrix.configuration }} WDS_Platform: ${{ matrix.platform }} + + - name: Archive logs + uses: actions/upload-artifact@v3 + if: always() + with: + name: logs + path: _logs diff --git a/Build-SampleSet.ps1 b/Build-SampleSet.ps1 index 32821980..cb7c2a5f 100644 --- a/Build-SampleSet.ps1 +++ b/Build-SampleSet.ps1 @@ -20,7 +20,7 @@ if ($PSBoundParameters.ContainsKey('Verbose')) { } New-Item -ItemType Directory -Force -Path $LogFilesDirectory | Out-Null -$sampleBuilderFilePath = "$LogFilesDirectory\overview.htm" +$sampleBuilderFilePath = "$LogFilesDirectory\_overview.htm" Remove-Item -Recurse -Path $LogFilesDirectory 2>&1 | Out-Null diff --git a/Building-Locally.md b/Building-Locally.md index 8f62a609..b4f0339a 100644 --- a/Building-Locally.md +++ b/Building-Locally.md @@ -72,5 +72,5 @@ Excluded: 56 Unsupported: 230 Failed: 0 Log files directory: .\_logs -Overview report: .\_logs\overview.htm +Overview report: .\_logs\_overview.htm ``` |
