Skip to content

Commit adaf215

Browse files
Address review feedback: revert documentation changes and update workflow
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
1 parent d91ef73 commit adaf215

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

.github/copilot-instructions.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,4 @@ build/
196196
3. Run `dotnet cake -t=ci` to verify clean build
197197
4. Check existing issues and PRs for related work
198198

199-
### GitHub Copilot Development Environment
200-
For GitHub Copilot development, use the provided setup workflow:
201-
- **`.github/workflows/copilot-setup-steps.yml`**: Automated setup for Copilot development environment
202-
- Provisions .NET 9, Android workload, Cake tool, Android SDK, and OpenJDK 11
203-
- Verifies environment by running `dotnet cake --target=binderate`
204-
- Can be triggered manually via workflow_dispatch for environment setup and testing
205-
206199
This repository represents a critical piece of the .NET ecosystem for Android development, enabling C# developers to use the full range of modern Android libraries through automatically maintained bindings.

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

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,34 @@ jobs:
1515
with:
1616
dotnet-version: '8.x'
1717

18+
- name: Verify .NET installation
19+
run: dotnet --version
20+
21+
- name: List available workloads
22+
run: dotnet workload search
23+
1824
- name: Install Android workload
1925
run: dotnet workload install android
2026

21-
- name: Install Cake .NET Tool
22-
run: dotnet tool install -g cake.tool
27+
- name: List installed workloads
28+
run: dotnet workload list
29+
30+
- name: Setup Android SDK
31+
uses: android-actions/setup-android@v3
32+
with:
33+
api-level: 29
34+
build-tools-version: '30.0.3'
35+
36+
- name: Accept Android SDK licenses
37+
run: yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses || true
2338

2439
- name: Setup OpenJDK 11
2540
uses: actions/setup-java@v4
2641
with:
2742
distribution: 'microsoft'
2843
java-version: '11'
2944

30-
- name: Run dotnet cake
45+
- name: Run Cake binderate target (quick verification)
3146
run: dotnet cake
3247

3348
- name: Display environment info
@@ -39,4 +54,4 @@ jobs:
3954
echo "Java Home: $JAVA_HOME"
4055
echo "Cake Tool: $(dotnet cake --version 2>/dev/null || echo 'Not available')"
4156
echo "=== Installed Workloads ==="
42-
dotnet workload list
57+
dotnet workload list

BUILDING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
Before building the libraries and samples in this repository, you will need to install:
66

77
* [.NET](https://dotnet.microsoft.com/download) ([.NET SDK 8.0.404](https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.11/8.0.11.md?WT.mc_id=dotnet-35129-website) is currently required)
8-
9-
**Note**: .NET 9 is also compatible and supported. For GitHub Copilot development, see `.github/workflows/copilot-setup-steps.yml`.
108

119
* [Cake .NET Tool](http://cakebuild.net):
1210

0 commit comments

Comments
 (0)