Skip to content

Commit

Permalink
Merge pull request #41 from statisticssweden/jerikso-patch-1
Browse files Browse the repository at this point in the history
Update nuget.yml
  • Loading branch information
kevinguvenal authored Jun 30, 2022
2 parents 9a8cbb9 + 8177cef commit 5db7329
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,21 @@ jobs:
- uses: microsoft/setup-msbuild@v1

- uses: NuGet/setup-nuget@v1

- name: Restore NuGet packages
working-directory: ./Source/
run: nuget restore


- name: Build the application
working-directory: ./Source/
run: msbuild /p:Configuration=Release

- name: Depoly to Nuget
working-directory: ./Source/
run: |
$package = Get-ChildItem -Recurse -Filter *.nupkg
nuget push $package $env:nuget_api_key -src https://nuget.org
env:
nuget_api_key: ${{ secrets.NUGET_API_KEY }}


0 comments on commit 5db7329

Please sign in to comment.