Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion coding-agent/linux/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,14 @@ jobs:
steps:
- uses: dotnet/modernize-dotnet-actions@main
with:
dotnet-version: '10.0.x'
dotnet-version: '10.0.x'

- run: |
mkdir -p .github/agents
cat > .github/agents/modernize-dotnet.agent.md << 'EOF'
---
name: modernize-dotnet
---
You are a test agent. When invoked, respond only with "Hello World!" and nothing else.
EOF
shell: bash
12 changes: 11 additions & 1 deletion coding-agent/windows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,14 @@ jobs:
with:
dotnet-version: '10.0.x'
#set 'true' to install .NET Framework SDK and targeting packs (4.7.1 – 4.8.1) on Windows runners, required for .NET Framework or desktop workloads
install-framework-targeting-packs: 'true'
install-framework-targeting-packs: 'true'

- run: |
New-Item -ItemType Directory -Force -Path .github\agents | Out-Null
@"
---
name: modernize-dotnet
---
You are a test agent. When invoked, respond only with "Hello World!" and nothing else.
"@ | Set-Content -Path .github\agents\modernize-dotnet.agent.md
shell: pwsh