Repository navigation
Update SkiaSharp to 3.119.4 (latest 3.x) + fix Windows package push - #378
Merged
Merged
Conversation
Bump the SkiaSharp family (SkiaSharp, SkiaSharp.Views, SkiaSharp.Views.Maui.Controls) from 3.116.1 to 3.119.4 — the latest 3.x release — across the platform csproj references and the meta-package nuspec dependency groups. Stays on SkiaSharp 3.x (not 4.x). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The dotnet nuget push "artifacts/*.nupkg" wildcard was not expanded on the windows-latest / PowerShell runner (dotnet reported "File does not exist"), so the first publish run packed all packages but pushed none. Enumerate the .nupkg files with Get-ChildItem and push each individually, for both the GitHub Packages and nuget.org steps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the repository’s SkiaSharp 3.x dependencies to the latest 3.119.4 release and adjusts the Windows-based publish workflow so NuGet package pushes work reliably on windows-latest where *.nupkg wildcards aren’t expanded for dotnet nuget push.
Changes:
- Bumped SkiaSharp-family package references from
3.116.1to3.119.4across core, platform, and sample projects. - Updated the metapackage
.nuspecdependency groups to reference SkiaSharp3.119.4. - Fixed
.github/workflows/publish.ymlto enumerateartifacts/*.nupkgand push each package individually (GitHub Packages + nuget.org).
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Sources/Microcharts/Microcharts.csproj | Bump SkiaSharp reference to 3.119.4. |
| Sources/Microcharts.Samples.Maui/Microcharts.Samples.Maui.csproj | Bump SkiaSharp.Views.Maui.Controls to 3.119.4. |
| Sources/Microcharts.Samples.iOS/Microcharts.Samples.iOS.csproj | Bump SkiaSharp.Views to 3.119.4. |
| Sources/Microcharts.Samples.Android/Microcharts.Samples.Android.csproj | Bump SkiaSharp.Views to 3.119.4. |
| Sources/Microcharts.Metapackage/Microcharts.Metapackage.nuspec | Update metapackage SkiaSharp dependency versions to 3.119.4. |
| Sources/Microcharts.Maui/Microcharts.Maui.csproj | Bump SkiaSharp.Views.Maui.Controls to 3.119.4. |
| Sources/Microcharts.iOS/Microcharts.iOS.csproj | Bump SkiaSharp.Views to 3.119.4. |
| Sources/Microcharts.Droid/Microcharts.Droid.csproj | Bump SkiaSharp.Views to 3.119.4. |
| .github/workflows/publish.yml | Replace wildcard push with PowerShell enumeration + per-package dotnet nuget push. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot review on #378 flagged that the Microcharts meta-package was pinned to a hardcoded 2.0.0 (its version plus the Microcharts.Core / Microcharts.Maui dependency versions) while the platform packages build as 2.0.0.<run>, producing a version mismatch on the feed. Tokenize the meta-package version and its Microcharts.* dependency versions with $version$, and feed that token from the computed PackageVersion via <NuspecProperties>. The meta-package now matches the platform packages exactly: 2.0.0.<run> for CI builds and 2.0.0 for a clean release. SkiaSharp dependency versions stay pinned at 3.119.4. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Summary
Two related changes ahead of publishing v2.0 to the GitHub Packages org feed:
1. SkiaSharp 3.116.1 → 3.119.4 (latest 3.x)
Bumps the SkiaSharp family (
SkiaSharp,SkiaSharp.Views,SkiaSharp.Views.Maui.Controls) to the newest 3.x release (staying off 4.x), across all platformcsprojreferences and the meta-package nuspec dependency groups — 19 references in total.2. Fix package push on the Windows runner (
publish.yml)The first dispatch of
publish.ymlpacked all five packages but pushed none:dotnet nuget push "artifacts/*.nupkg"reportedFile does not existbecause the*.nupkgwildcard isn't expanded on the windows-latest / PowerShell runner. Both push steps (GitHub Packages + nuget.org) now enumerate the packages withGet-ChildItemand push each individually.Verification
dotnet build Sources/Microcharts.slnx --configuration Release→ Build succeeded, 0 warnings, 0 errors against SkiaSharp 3.119.4.publish.ymlvalidated as well-formed YAML. The push fix is exercised by dispatchingpublish.ymlafter merge (the PR build doesn't run the publish steps).🤖 Generated with Claude Code