Add a 50 bundled version as not all three were changing at once. Modify the code to use the 31 and 21 versions. This way, we only ever have to update one set of numbers each month rather than 3.
- Cherry pick the internal runtime download changes over
- Cherry pick changes to the arcade SB template over (making the next update a noop and unblocking P7+)
- Hoist out the variable groups and parameters needed for the internal download to the top level yaml file.
- Remove the old DownloadFile task and replace this with the Arcade version. Specifically this allows us to remove
set/use of the DOTNETCLIMSRC_READ_SAS_TOKEN environment variable and instead rely on that task's ability to decode and
use a base64 encoded SAS token. The reason for the environment variable usage before was that the
non-encoded SAS token was getting mangled by msbuild/bash/etc. on non-Windows OSs.
- Update the source build tarball template with support for internal runtimes
Update to source build template
* Do not create .zip files on Linux/Mac
Avoid creating the .zip files on Linux/Mac, as they are not distributed or used in any scenario.
This saves > 20% of the total artifact size for this build (2.7 GB). Yay!
* Ensure output directories are created first
Context: https://github.com/dotnet/maui/pull/603
After building with `.\build.cmd -pack -publish`, I could install the
workload:
.\artifacts\bin\redist\Debug\dotnet\dotnet.exe workload install maui --verbosity diag
...
Successfully installed workload(s) maui.
Next, I setup a `global.json` with `6.0.100-dev` and tried:
.\artifacts\bin\redist\Debug\dotnet\dotnet.exe new maui
I was able to build and run the app, after some minor tweaks to the
template.
This is a cherry-pick of https://github.com/dotnet/installer/pull/10699 (which targets the public Installer repo, branch release/5.0.3xx) to the internal Installer repo, branch internal/release/5.0.3xx.
The public PR has been approved for 5.0.8 servicing.