-
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 988 Bytes
/
Copy pathcopilot-setup-steps.yml
File metadata and controls
40 lines (35 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# https://docs.github.com/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
name: Copilot Setup Steps
on:
workflow_dispatch:
push:
paths:
- '.github/workflows/copilot-setup-steps.yml'
pull_request:
paths:
- '.github/workflows/copilot-setup-steps.yml'
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_NOLOGO: true
NUGET_XMLDOC_MODE: skip
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7.0.0
- name: Setup .NET SDK
uses: actions/setup-dotnet@v5.4.0
with:
dotnet-version: |
10.x
9.x
8.x
cache: true
cache-dependency-path: Directory.Packages.props
- name: Restore .NET tools
run: dotnet tool restore
- name: Restore NuGet packages
run: dotnet restore