Skip to content

Conversation

Copy link

Copilot AI commented Nov 14, 2025

Adds a workflow to determine if .NET 10 SDK is pre-installed on Ubuntu GitHub Action runners and whether it can be installed via actions/setup-dotnet@v4.

Workflow Features

  • Pre-installation detection: Lists all installed .NET SDKs/runtimes and checks for .NET 10
  • Installation validation: Attempts to install .NET 10 and verifies success
  • Project creation test: Creates a net10.0 console app to validate full functionality
  • Always-runs summary: Provides clear results regardless of .NET 10 availability

Triggers

  • Manual via workflow_dispatch
  • Push to main/develop
  • Pull requests

Example Output

=== Checking for pre-installed .NET SDKs ===
✗ .NET 10 SDK is NOT pre-installed

=== Verifying .NET 10 after setup-dotnet ===
✓ .NET 10 SDK is now available!

All failure-prone steps use continue-on-error: true to ensure complete execution and reporting.

Original prompt

I want to know whether the Ubuntu Action runners already have .net10. Please create a PR with a simple action that check for this


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 14, 2025 07:26
Co-authored-by: softworkz <4985349+softworkz@users.noreply.github.com>
Co-authored-by: softworkz <4985349+softworkz@users.noreply.github.com>
Copilot AI changed the title [WIP] Add action to check for .NET 10 on Ubuntu runners Add GitHub Action to check .NET 10 availability on Ubuntu runners Nov 14, 2025
Copilot AI requested a review from softworkz November 14, 2025 07:29
@softworkz softworkz closed this Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants