File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Copilot Setup Steps"
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ paths :
7+ - .github/workflows/copilot-setup-steps.yml
8+ pull_request :
9+ paths :
10+ - .github/workflows/copilot-setup-steps.yml
11+
12+ jobs :
13+ copilot-setup-steps :
14+ runs-on : ubuntu-latest
15+
16+ permissions :
17+ contents : read
18+
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v4
22+
23+ - name : Set up .NET 9.0
24+ uses : actions/setup-dotnet@v4
25+ with :
26+ dotnet-version : ' 9.0.x'
27+
28+ - name : Set up .NET 8.0 (also needed for some components)
29+ uses : actions/setup-dotnet@v4
30+ with :
31+ dotnet-version : ' 8.0.x'
32+
33+ - name : Set up .NET 6.0 (target framework)
34+ uses : actions/setup-dotnet@v4
35+ with :
36+ dotnet-version : ' 6.0.x'
37+
38+ - name : Install SkiaSharp Linux dependencies
39+ run : |
40+ sudo apt-get update
41+ sudo apt-get install -y libfontconfig1 libfreetype6
42+ # No need to explicitly install SkiaSharp.NativeAssets.Linux.NoDependencies as it will come from NuGet
43+
44+ - name : Verify .NET installation
45+ run : |
46+ dotnet --info
You can’t perform that action at this time.
0 commit comments