Merge pull request #247 from trimble-oss/release/0.1-beta #517
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
- '**/*.gitignore' | |
- '**/*.gitattributes' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
include-prerelease: true | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'microsoft' | |
java-version: '11' | |
- name: Install MAUI Workloads | |
run: | | |
dotnet workload install android --ignore-failed-sources | |
dotnet workload install maui-android --ignore-failed-sources | |
dotnet workload install maui-tizen --ignore-failed-sources | |
- name: Restore Dependencies | |
run: dotnet restore ./dotnet/src/Modus.sln | |
- name: Build MAUI Android | |
run: dotnet build ./dotnet/src/Modus.sln -f net6.0 -c Release --no-restore |