This action allows you to build your monogame project via msbuild.
The action sets up dotnet, msbuild, and the mgcb build tool.
It then builds the Content resources using mgcb and then builds the game/project using msbuild.
name: Run checks on incoming PR
on:
pull_request:
branches: [master, release, develop]
# allow running this workflow manually
workflow_dispatch:
jobs:
android-build-check:
runs-on: windows-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Build android project
uses: igotinfected-ci/build-monogame@v2
with:
solution-path: '${{ github.workspace }}\Project\Project.sln'
content-mgcb-path: '${{ github.workspace }}\Project\Android\Content'
content-mgcb-platform: "Android"
csproj-path: '${{ github.workspace }}\Project\Android.csproj'
build-target: "PackageForAndroid"
build-configuration: "Release"The scripts and documentation in this project are released under the MIT License