From d161a7ce9ad88b639d8bef2d0b3ee531ca4a38c2 Mon Sep 17 00:00:00 2001 From: Simon G <21110158+SimonG96@users.noreply.github.com> Date: Wed, 31 Aug 2022 15:31:40 +0200 Subject: [PATCH] - use build instead of pack --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index de99006..bec6da3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: env: NUGET_KEY: ${{ secrets.NUGET_KEY }} run: | - dotnet pack -c Release -o nugetOut + dotnet build -c Release -o nugetOut dotnet nuget push nugetOut\LightweightIocContainer.*.nupkg -k $env:NUGET_KEY -s https://api.nuget.org/v3/index.json github: @@ -34,7 +34,7 @@ jobs: env: GH_PACKAGE_REGISTRY_KEY: ${{ secrets.GH_PACKAGE_REGISTRY_KEY }} run: | - dotnet pack -c Release -o githubOut + dotnet build -c Release -o githubOut dotnet nuget add source "https://nuget.pkg.github.com/SimonG96/index.json" --name "GithubPackageRegistry" --username SimonG96 --password $env:GH_PACKAGE_REGISTRY_KEY dotnet nuget push githubOut\LightweightIocContainer.*.nupkg -s "GithubPackageRegistry" - name: Upload the artifacts to release