Updating actions-install to permit overriding the nuget feed #441
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
AB#3582314
Current State
Today without any changes, users can us the v1 version of the package to install PAC from nuget packages stored in their own private feeds. Local folders also count as valid feed sources, so users could get copies of the Microsoft.PowerApps.CL (net48, Windows only) or Microsoft.PowerApps.CLI.Tool (net6.0, cross-plat but only used for Linux/macOS currently) packages through their companies approval process, and added either to internal feeds or as artifacts directly downloaded onto their build agent / actiosn runner.
Examples:
This Change
Using a different feed, including private feed authentication options
These changes add some install options to the
actions-install
step to allow overriding the nuget feed, without needing to do so in a previous step, and creates the nuget config file without nuget.org present when overridden so that no communication outside is attempted.Using a local folder where the PAC nuget package has already been downloaded to
and like before, a local folder containing already-downloaded nuget packages is likewise valid:
Using an already-installed PAC on the actions runner:
actions-install
'suse-preinstalled-pac
parameter allows pointing to an existing copy of pac.exe (windows) or pac (linux/mac)