From e7401912797415c470d35207147c405094c212d7 Mon Sep 17 00:00:00 2001 From: Yotam loewenbach Date: Mon, 27 May 2024 18:13:30 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb650b7..fc60dbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,17 +14,10 @@ jobs: - name: Install dependencies working-directory: ./src run: dotnet restore logzio-dotnet.sln - - name: Build and release package net6.0 + - name: Build and release package working-directory: ./src run: | dotnet publish -c Release -f net6.0 dotnet pack --configuration Release dotnet nuget push "./Log4netShipper/bin/Release/Logzio.DotNet.Log4net.${{ github.event.release.tag_name }}.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json dotnet nuget push "./NLogShipper/bin/Release/Logzio.DotNet.NLog.${{ github.event.release.tag_name }}.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json - - name: Build and release package net8.0 - working-directory: ./src - run: | - dotnet publish -c Release -f net8.0 - dotnet pack --configuration Release - dotnet nuget push "./Log4netShipper/bin/Release/Logzio.DotNet.Log4net.${{ github.event.release.tag_name }}.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json - dotnet nuget push "./NLogShipper/bin/Release/Logzio.DotNet.NLog.${{ github.event.release.tag_name }}.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json \ No newline at end of file