diff --git a/.github/workflows/package-unsigned.yml b/.github/workflows/package-unsigned.yml index 0165a4e..73feffd 100644 --- a/.github/workflows/package-unsigned.yml +++ b/.github/workflows/package-unsigned.yml @@ -161,11 +161,17 @@ jobs: exit 1 } + - name: Upload test results + if: always() + uses: actions/upload-artifact@v4 + with: + name: test-results + path: TestResults + if-no-files-found: ignore + - name: Upload unsigned artifacts uses: actions/upload-artifact@v4 with: name: unsigned-build-artifacts - path: | - out - TestResults + path: out if-no-files-found: error diff --git a/README.md b/README.md index 1e42036..834d58d 100644 --- a/README.md +++ b/README.md @@ -111,14 +111,14 @@ dotnet tool uninstall --global ## CI And Packaging -GitHub Actions is used for repository CI and unsigned package creation. +GitHub Actions handles PR validation and unsigned package creation: -- [.github/workflows/ci.yml](.github/workflows/ci.yml): restore, build, test, and fuzzer smoke test -- [.github/workflows/package-unsigned.yml](.github/workflows/package-unsigned.yml): build and upload unsigned NuGet artifacts +- [.github/workflows/ci.yml](.github/workflows/ci.yml): restore, build, test, and fuzzer smoke test (runs on every PR) +- [.github/workflows/package-unsigned.yml](.github/workflows/package-unsigned.yml): build and upload unsigned NuGet artifacts (runs on tags) -GitHub Actions uses [.github/nuget.github.config](.github/nuget.github.config) so the workflows restore packages from nuget.org without depending on the Azure Pipelines setup. +GitHub Actions uses [.github/nuget.github.config](.github/nuget.github.config) so the workflows restore packages from nuget.org without depending on the Azure DevOps feed. -Azure Pipelines can continue in parallel for signing and publishing from the branch-based Azure setup. +Azure Pipelines ([.pipelines/CosmosDB-Shell-Official.yml](.pipelines/CosmosDB-Shell-Official.yml)) handles signing and publishing via the internal Azure setup. ## CLI Arguments