From 9af9ce8a3ee3b741d6419082def313c2f3d702dc Mon Sep 17 00:00:00 2001 From: Lior Banai Date: Sat, 21 Sep 2024 19:25:58 +0300 Subject: [PATCH] fix yml --- .github/workflows/dotnet-core-desktop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core-desktop.yml b/.github/workflows/dotnet-core-desktop.yml index 6fd8e48..ccd3d5d 100644 --- a/.github/workflows/dotnet-core-desktop.yml +++ b/.github/workflows/dotnet-core-desktop.yml @@ -67,7 +67,7 @@ jobs: name: artifactory_Release - name: 'Dotnet NuGet Push' run: | - Get-ChildItem .\artifactory -Filter *.nupkg | + Get-ChildItem ./ -Filter *.nupkg | Where-Object { !$_.Name.Contains('preview') } | ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} } shell: pwsh