Skip to content

Commit 24e6493

Browse files
Update copilot-setup-steps.yml
1 parent 1fd4b18 commit 24e6493

1 file changed

Lines changed: 1 addition & 64 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -16,72 +16,9 @@ jobs:
1616
- name: Setup .NET 10 Preview
1717
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: '10.0.100-preview.6.25304.106'
20-
21-
- name: Verify .NET installation
22-
run: |
23-
dotnet --version
24-
echo "Checking .NET runtimes:"
25-
dotnet --list-runtimes
26-
27-
- name: Install basic dependencies
28-
run: |
29-
sudo apt-get update
30-
sudo apt-get install -y curl wget git build-essential
31-
32-
- name: Set environment variables
33-
run: |
34-
echo "DOTNET_NOLOGO=true" >> $GITHUB_ENV
35-
echo "DOTNET_CLI_TELEMETRY_OPTOUT=true" >> $GITHUB_ENV
36-
37-
- name: Prepare external git dependencies
38-
run: |
39-
echo "=== Preparing external git dependencies ==="
40-
make prepare-external-git-dependencies PREPARE_CI=1 CONFIGURATION=Debug
41-
timeout-minutes: 30
19+
dotnet-version: '9.x'
4220

4321
- name: Run jenkins build
4422
run: |
45-
echo "=== Running jenkins build (this may take a while) ==="
4623
make jenkins PREPARE_CI=1 PREPARE_AUTOPROVISION=1 CONFIGURATION=Debug
4724
timeout-minutes: 60
48-
49-
- name: Create NuGet packages
50-
run: |
51-
echo "=== Creating NuGet packages ==="
52-
make create-nupkgs CONFIGURATION=Debug
53-
timeout-minutes: 20
54-
55-
- name: Verify local workload setup
56-
run: |
57-
if [ -f "./dotnet-local.sh" ]; then
58-
./dotnet-local.sh --version
59-
./dotnet-local.sh workload list
60-
else
61-
echo "dotnet-local.sh not found, checking for dotnet in bin/"
62-
find bin/ -name "dotnet" -type f || echo "No local dotnet found"
63-
fi
64-
65-
- name: Test building sample project
66-
run: |
67-
if [ -f "./dotnet-local.sh" ]; then
68-
echo "=== Building HelloWorld sample ==="
69-
cd samples/HelloWorld/HelloLibrary
70-
../../../dotnet-local.sh restore HelloLibrary.DotNet.csproj
71-
../../../dotnet-local.sh build HelloLibrary.DotNet.csproj --no-restore
72-
echo "=== HelloLibrary build completed successfully ==="
73-
else
74-
echo "Skipping sample build - dotnet-local.sh not available"
75-
fi
76-
77-
- name: Display disk usage
78-
run: df -h
79-
80-
- name: Show build artifacts
81-
run: |
82-
echo "=== Checking bin/ directory ==="
83-
ls -la bin/ || echo "bin/ directory not found"
84-
echo "=== Checking for packs ==="
85-
find bin/ -name "*packs*" -type d || echo "No packs directories found"
86-
echo "=== Checking for Android workload ==="
87-
find bin/ -name "*Android*" -type d || echo "No Android directories found"

0 commit comments

Comments
 (0)