Skip to content

Commit

Permalink
Added nuget source
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyApeOne authored and FrostyApeOne committed Jan 27, 2025
1 parent e8fc593 commit 2a39d98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-push-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
- name: Build, pack and publish
working-directory: src/Dfe.PersonsApi.Client
run: |
dotnet nuget add source --username USERNAME --password '${{ secrets.GITHUB_TOKEN }}' --name github "https://nuget.pkg.github.com/DFE-Digital/index.json"
dotnet build -c Release
dotnet pack -c Release -p:PackageVersion=${{ env.NEW_VERSION }} --output .
dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/DFE-Digital/index.json

0 comments on commit 2a39d98

Please sign in to comment.