Skip to content

Proposal: Add "Authenticate with GitHub Packages" step in other jobs for dotnet CI workflow template#298

Closed
jotaWTW wants to merge 2 commits intomainfrom
Enhancement_Handling_InternalPackages
Closed

Proposal: Add "Authenticate with GitHub Packages" step in other jobs for dotnet CI workflow template#298
jotaWTW wants to merge 2 commits intomainfrom
Enhancement_Handling_InternalPackages

Conversation

@jotaWTW
Copy link

@jotaWTW jotaWTW commented Apr 18, 2025

While removing the Artifactory entry from nuget.config, I realized our .NET CI workflow template needs to include an “Authenticate with GitHub Packages” step to both the dotnet-test and build-deployment-artifacts jobs. This is required whenever a .NET app uses an internal NuGet package like the Mktp.Api.Authentication package (v2.1.14).

Note: I used PR PR #251 to verify these changes.

@jotaWTW jotaWTW requested a review from a team as a code owner April 18, 2025 07:21
@jotaWTW jotaWTW changed the title Proposal: Add section for handle internal Internal Nuget packages Proposal: Add "Authenticate with GitHub Packages" step in additional jobs for dotnet CI workflow template Apr 18, 2025
@jotaWTW jotaWTW changed the title Proposal: Add "Authenticate with GitHub Packages" step in additional jobs for dotnet CI workflow template Proposal: Add "Authenticate with GitHub Packages" step in other jobs for dotnet CI workflow template Apr 18, 2025
@jotaWTW
Copy link
Author

jotaWTW commented Apr 21, 2025

Not required. Thanks @richard-leon-130524 the solution is use actions/cache/restore@v4 to avoid using extra Authenticate with GitHub Packages sections

@jotaWTW jotaWTW closed this Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant