Repository navigation
CI: build net10.0 WebAssembly on the runners' .NET 11 SDK; drop orphaned sample folders - #28
Merged
Merged
Conversation
…op orphaned sample folders The runner images now carry SDK 11.0.100 next to 10.0.404, and nothing pins the SDK, so dotnet uses 11. The workflows installed wasm-tools, which on SDK 11 is the net11.0 toolchain: building the net10.0-browserwasm samples failed with UNOWA0001 (PR builds) and NETSDK1147 wasm-tools-net10 (deploy). Both workflows now install wasm-tools-netN when the SDK is newer than the target framework. The PR build's fixed sample list named maps/geo-map/binding-data-csv, which #25 removed (MSB1009 on android, desktop and ios); it now builds maps/geo-map/binding-data-model. #25 also left the iOS platform files of its nine removed samples behind; they are deleted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under bash -e -o pipefail, the changed-samples loop ended with a failed [ -f ] test when the last changed folder has no Sample.csproj (a removed sample), so the step exited 1 without a message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Every PR build and the vnext deploy have been failing since the runner images started shipping .NET SDK 11.0.100 next to 10.0.404. Nothing pins the SDK, so
dotnetuses 11.wasm-toolsis the net11.0 toolchain, so the net10.0 samples failed:UNOWA0001in PR builds,NETSDK1147 … wasm-tools-net10in the deploy. Both workflows now installwasm-tools-netNwhen the SDK is newer than the target framework. This still pins nothing.MSB1009, because the PR build's fixed sample list namedmaps/geo-map/binding-data-csv, which improvements for initial release #25 removed. It now buildsmaps/geo-map/binding-data-model.Verified locally with SDK 11.0.100 (with the 10.0 runtime, as on the runners):
wasm-toolsreproducesUNOWA0001;wasm-tools-net10), the samples browser and the three fixed-list samples build fornet10.0-browserwasm.🤖 Generated with Claude Code