Skip to content

Commit

Permalink
fix publish to nuget in pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasSamuelsson committed Sep 2, 2024
1 parent bace320 commit 3746831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-publish-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
shell: pwsh
run: |
dotnet pack "${{ inputs.mainProjectPath }}" --configuration Release --include-symbols --no-restore --no-build --output .artifacts
get-childitem ./.artifacts/*.nupkg | foreach-object { dotnet nuget push $_ --api-key ${{ secrets.nuget }} --source https://api.nuget.org/v3/index.json }
get-childitem ./.artifacts/*.nupkg | where-object { $_.Name -notlike "*.symbols.nupkg" } | foreach-object { dotnet nuget push $_ --api-key ${{ secrets.nuget }} --source https://api.nuget.org/v3/index.json }
- name: tag source
if: ${{ inputs.publish == 'true' }}
continue-on-error: true
Expand Down

0 comments on commit 3746831

Please sign in to comment.