Skip to content

Commit d5f4ed6

Browse files
CopilotTyKonKet
andcommitted
Add copilot-setup-steps workflow for .NET and Linux dependencies setup
Co-authored-by: TyKonKet <7534621+TyKonKet@users.noreply.github.com>
1 parent 2f3556f commit d5f4ed6

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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

0 commit comments

Comments
 (0)