Skip to content

Commit c758d39

Browse files
committed
Include mimimal example
1 parent 726aa02 commit c758d39

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
11
# Docker image .NET MAUI Android
22

33
Builds a [docker image](https://hub.docker.com/r/conneqthub/dotnet-maui-android) that allows containerised builds of .NET 9.0 MAUI Android 35 apps.
4+
5+
The goal of the resulting image is that you can run `dotnet build` on a MAUI Android workspace without first needing to install additional software.
6+
7+
## Basic approach
8+
9+
- Start the docker image
10+
- Get the source code you want to build
11+
- `dotnet build`
12+
13+
## Minimal example of steps in Github Actions
14+
15+
```yaml
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Build
20+
shell: bash
21+
run: dotnet build
22+
- name: Upload AAB
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: aab
26+
path: bin/Release/net9.0-android/com.example.app-Signed.aab
27+
if-no-files-found: error
28+
retention-days: 1

0 commit comments

Comments
 (0)