summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci-pr.yml8
-rw-r--r--.github/workflows/ci.yml8
2 files changed, 14 insertions, 2 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