From 49f2497fc5f244d3427b0a6b8e2c303db39b0d55 Mon Sep 17 00:00:00 2001 From: Lior Banai Date: Sat, 21 Sep 2024 20:45:48 +0300 Subject: [PATCH] fix yml --- .github/workflows/dotnet-core-desktop.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet-core-desktop.yml b/.github/workflows/dotnet-core-desktop.yml index ab116bc..f9d6701 100644 --- a/.github/workflows/dotnet-core-desktop.yml +++ b/.github/workflows/dotnet-core-desktop.yml @@ -52,9 +52,9 @@ jobs: # Publish Artifacts - name: 'Publish Artifacts' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.4.0 with: - name: 'artifactory' + name: artifactory_${{ matrix.configuration }} path: | ./Analogy.LogServer.Clients/bin/${{ matrix.configuration }} ./Analogy.LogServer/bin/${{ matrix.configuration }} @@ -66,12 +66,12 @@ jobs: runs-on: windows-latest steps: - name: 'Download Artifact' - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4.1.7 with: - name: 'artifactory' + name: artifactory_Release - name: 'Dotnet NuGet Push' run: | - Get-ChildItem .\artifactory\Analogy.LogServer.Clients\bin\Release -Filter *.nupkg | + Get-ChildItem .\Analogy.LogServer.Clients\bin\Release -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_CLIENTS_API_KEY}} } shell: pwsh