- use build instead of pack

pull/59/head
Simon G 3 years ago committed by GitHub
parent a02558937d
commit d161a7ce9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .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

Loading…
Cancel
Save