Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
NightWatchman committed Dec 18, 2023
1 parent 10a7989 commit dd4cdbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
dotnet paket restore
dotnet restore
dotnet build --configuration '${{ env.BUILD_CONFIGURATION }}' /p:Version=${{steps.slug.outputs.version}}
dotnet paket pack nugets --symbols
dotnet paket pack nugets
# Publish the package to Azure Artifacts
# NuGet repository API key is configured with .NET Core above, and the value provided here is ignored
- name: 'dotnet publish'
run: dotnet nuget push --api-key ${{secrets.NUGET_API_KEY}} -s nugets/${{env.PROJECT_NAME}}.${{steps.slug.outputs.version}}.symbols.nupkg
run: dotnet nuget push -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} nugets/${{env.PROJECT_NAME}}.${{steps.slug.outputs.version}}.nupkg

0 comments on commit dd4cdbb

Please sign in to comment.