From a38ad54824ea7a614471480de49cee640ecefb9b Mon Sep 17 00:00:00 2001 From: Simon G <21110158+SimonG96@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:50:00 +0200 Subject: [PATCH] - try fixing deploy --- .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 17ad89f..8e104d4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,7 @@ jobs: - name: Deploy to NuGet Gallery env: NUGET_KEY: ${{ secrets.NUGET_KEY }} - - run: dotnet pack -c Release + run: dotnet pack -c Release - run: cd bin\Release - run: dotnet nuget push LightweightIocContainer.*.nupkg -k NUGET_KEY -s https://api.nuget.org/v3/index.json @@ -33,7 +33,7 @@ jobs: - name: Deploy to GitHub Package Registry env: GH_PACKAGE_REGISTRY_KEY: ${{ secrets.GH_PACKAGE_REGISTRY_KEY }} - - run: dotnet pack -c Release + run: dotnet pack -c Release - run: nuget sources Add -Name "GithubPackageRegistry" -Source "https://nuget.pkg.github.com/SimonG96/index.json" -UserName SimonG96 -Password GH_PACKAGE_REGISTRY_KEY - run: cd bin\Release - run: dotnet nuget push LightweightIocContainer.*.nupkg -Source "GithubPackageRegistry"