From 40871e87f99e630a605d016bb87a324ead0dce1e Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Thu, 7 Nov 2024 16:02:13 -0500 Subject: [PATCH] ci: filter off OptimizelySDK.Test when combining --- .github/workflows/csharp_release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/csharp_release.yml b/.github/workflows/csharp_release.yml index a270dfbc..d273c533 100644 --- a/.github/workflows/csharp_release.yml +++ b/.github/workflows/csharp_release.yml @@ -55,8 +55,7 @@ jobs: with: name: unsigned-dlls-framework if-no-files-found: error - path: | - $(find . -path './**/bin/Release/**/Optimizely*.dll' ! -path './**/OptimizelySDK.Tests/**') + path: ./**/bin/Release/**/Optimizely*.dll buildStandard16: name: Build .NET 1.6 version @@ -127,9 +126,9 @@ jobs: - name: Combine artifacts run: | mkdir -p ./unsigned-dlls - mv ./unsigned-dlls-framework/**/Optimizely*.dll ./unsigned-dlls/ - mv ./unsigned-dlls-standard16/**/Optimizely*.dll ./unsigned-dlls/ - mv ./unsigned-dlls-standard20/**/Optimizely*.dll ./unsigned-dlls/ + find ./unsigned-dlls-framework -type f -name 'Optimizely*.dll' ! -path '*/OptimizelySDK.Tests/*' -exec mv {} ./unsigned-dlls/ \; + mv ./unsigned-dlls-standard16/**/Optimizely*.dll ./unsigned-dlls/ \; + mv ./unsigned-dlls-standard20/**/Optimizely*.dll ./unsigned-dlls/ \; - name: Upload combined artifacts uses: actions/upload-artifact@v4 with: