Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 33 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: dependency-audit
path: artifacts/dependency-audit/**
path: artifacts/dependency-audit/*.json
if-no-files-found: error

- name: Verify formatting
Expand All @@ -71,7 +71,7 @@ jobs:
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: runtime-boundaries
path: artifacts/runtime-boundaries/**
path: artifacts/runtime-boundaries/*/publish.log
if-no-files-found: error

- name: Test
Expand All @@ -96,24 +96,34 @@ jobs:
with:
name: package-capabilities-x64
path: |
artifacts/package-capabilities/**/manifest.json
artifacts/package-capabilities/**/consumer-smoke/packages.lock.json
artifacts/package-capabilities/**/packages/*
artifacts/package-capabilities/*/manifest.json
artifacts/package-capabilities/*/sbom.spdx.json
artifacts/package-capabilities/*/release-notes.md
artifacts/package-capabilities/*/support-matrix.md
artifacts/package-capabilities/*/consumer-smoke/PreviewConsumer.csproj
artifacts/package-capabilities/*/consumer-smoke/Program.cs
artifacts/package-capabilities/*/consumer-smoke/packages.lock.json
artifacts/package-capabilities/*/packages/*.nupkg
artifacts/package-capabilities/*/packages/*.snupkg
if-no-files-found: ignore

- name: Upload test results
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: test-results
path: "**/TestResults/**"
path: |
**/TestResults/**/*.trx
**/TestResults/**/*.xml
if-no-files-found: ignore

- name: Upload packages
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: packages
path: artifacts/packages/*
path: |
artifacts/packages/*.nupkg
artifacts/packages/*.snupkg

test-arm64:
runs-on: windows-11-arm
Expand Down Expand Up @@ -171,11 +181,17 @@ jobs:
with:
name: test-results-arm64
path: |
**/TestResults/**
artifacts/runtime-boundaries/**
artifacts/package-capabilities/**/manifest.json
artifacts/package-capabilities/**/consumer-smoke/packages.lock.json
artifacts/package-capabilities/**/packages/*
**/TestResults/**/*.trx
artifacts/runtime-boundaries/*/publish.log
artifacts/package-capabilities/*/manifest.json
artifacts/package-capabilities/*/sbom.spdx.json
artifacts/package-capabilities/*/release-notes.md
artifacts/package-capabilities/*/support-matrix.md
artifacts/package-capabilities/*/consumer-smoke/PreviewConsumer.csproj
artifacts/package-capabilities/*/consumer-smoke/Program.cs
artifacts/package-capabilities/*/consumer-smoke/packages.lock.json
artifacts/package-capabilities/*/packages/*.nupkg
artifacts/package-capabilities/*/packages/*.snupkg
if-no-files-found: error

native-abi-x64:
Expand Down Expand Up @@ -231,7 +247,7 @@ jobs:
name: native-abi-x64
path: |
artifacts/abi-probe/x64.json
tests/CfSharp.Native.Tests/TestResults/**
tests/CfSharp.Native.Tests/TestResults/**/*.trx
if-no-files-found: error

long-soak:
Expand Down Expand Up @@ -269,5 +285,8 @@ jobs:
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: long-soak-evidence-${{ matrix.architecture }}
path: artifacts/soak/**
path: |
artifacts/soak/*.json
artifacts/soak/*.trx
artifacts/soak/*.log
if-no-files-found: error
15 changes: 11 additions & 4 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,17 @@ jobs:
with:
name: preview-${{ steps.version.outputs.version }}
path: |
artifacts/preview/${{ steps.version.outputs.version }}/**
artifacts/preview-version.json
artifacts/abi-probe/**
**/TestResults/**
artifacts/preview/${{ steps.version.outputs.version }}/packages/*.nupkg
artifacts/preview/${{ steps.version.outputs.version }}/packages/*.snupkg
artifacts/preview/${{ steps.version.outputs.version }}/manifest.json
artifacts/preview/${{ steps.version.outputs.version }}/sbom.spdx.json
artifacts/preview/${{ steps.version.outputs.version }}/release-notes.md
artifacts/preview/${{ steps.version.outputs.version }}/support-matrix.md
artifacts/preview/${{ steps.version.outputs.version }}/consumer-smoke/PreviewConsumer.csproj
artifacts/preview/${{ steps.version.outputs.version }}/consumer-smoke/Program.cs
artifacts/preview/${{ steps.version.outputs.version }}/consumer-smoke/packages.lock.json
artifacts/abi-probe/x64.json
**/TestResults/**/*.trx
if-no-files-found: error
retention-days: 90

Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,17 @@ jobs:
with:
name: stable-${{ steps.version.outputs.version }}
path: |
artifacts/preview/${{ steps.version.outputs.version }}/**
artifacts/stable-version.json
artifacts/abi-probe/**
**/TestResults/**
artifacts/preview/${{ steps.version.outputs.version }}/packages/*.nupkg
artifacts/preview/${{ steps.version.outputs.version }}/packages/*.snupkg
artifacts/preview/${{ steps.version.outputs.version }}/manifest.json
artifacts/preview/${{ steps.version.outputs.version }}/sbom.spdx.json
artifacts/preview/${{ steps.version.outputs.version }}/release-notes.md
artifacts/preview/${{ steps.version.outputs.version }}/support-matrix.md
artifacts/preview/${{ steps.version.outputs.version }}/consumer-smoke/PreviewConsumer.csproj
artifacts/preview/${{ steps.version.outputs.version }}/consumer-smoke/Program.cs
artifacts/preview/${{ steps.version.outputs.version }}/consumer-smoke/packages.lock.json
artifacts/abi-probe/x64.json
**/TestResults/**/*.trx
if-no-files-found: error
retention-days: 365

Expand Down
Loading