Add GitHub workflow to publish samples using latest NuGet version#3570
Add GitHub workflow to publish samples using latest NuGet version#3570
Conversation
Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> Agent-Logs-Url: https://github.com/mono/SkiaSharp/sessions/7a553d15-0ed2-4945-ad10-20c6c694c220
|
@copilot i wa to always commit to the same samples branch. Also, can you add a parameter to pick the git sha for the sample to use. Also also I want to trigger on a release. Don't force push, just add a new commit. |
… force push Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> Agent-Logs-Url: https://github.com/mono/SkiaSharp/sessions/7df4a82e-892a-4246-a50f-bdf62b51d869
Done in caadc2e. Here's what changed:
|
|
@copilot please add a dry run support if triggers by PR so we can test. Do everything except the push. |
Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> Agent-Logs-Url: https://github.com/mono/SkiaSharp/sessions/45099523-5ea1-4052-8713-bc2528b91283
Done in 990137c. Two ways to trigger a dry run:
In both cases everything up to and including |
|
@copilot we also need to run this if a PR touches this workflow file. Same with a push. If this file or a sample changes |
Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> Agent-Logs-Url: https://github.com/mono/SkiaSharp/sessions/538d4d10-8dc0-4a64-8c94-fdb8551af7f9
Removed 'develop' and 'release/**' branches from workflow triggers.
Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com> Agent-Logs-Url: https://github.com/mono/SkiaSharp/sessions/e5eda0ca-b53c-46ea-bc6c-d4503131d11f
.github/workflows/samples.ymlwith push/PR/release/workflow_dispatch triggerssamples/**and.github/workflows/samples.ymlgit add,git commit --allow-empty— only skipsgit push; showsgit show --stat HEADto confirm what would have been pushedOriginal prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.