From 0cb7d0fbfcd68e4ae802de1e66f38096edf93cb2 Mon Sep 17 00:00:00 2001 From: guillaume Date: Tue, 28 Nov 2023 16:12:05 +0100 Subject: [PATCH] ci(.NET) Add CI job to build .Net demo app --- .github/workflows/dotnet-maui.yml | 18 ++++++++++++++++++ dotnet-maui/.gitignore | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/dotnet-maui.yml create mode 100644 dotnet-maui/.gitignore diff --git a/.github/workflows/dotnet-maui.yml b/.github/workflows/dotnet-maui.yml new file mode 100644 index 0000000..3133a6b --- /dev/null +++ b/.github/workflows/dotnet-maui.yml @@ -0,0 +1,18 @@ +name: DotNetMaui + +# Note: using the `branches` selector excludes all tags +on: + push: + branches: + - '**' + +jobs: + build: + runs-on: macos-12 + steps: + - uses: actions/checkout@v1 + - name: Build demo + run: | + cd dotnet-maui + sudo dotnet workload restore + dotnet build SimpleDemo.csproj diff --git a/dotnet-maui/.gitignore b/dotnet-maui/.gitignore new file mode 100644 index 0000000..733480b --- /dev/null +++ b/dotnet-maui/.gitignore @@ -0,0 +1,4 @@ +.vs/ + +bin/ +obj/