restructured AdminApp project #320
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: Driver App MAUI Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
PROJECT_DIR: ./src/Client/Logistics.DriverApp | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install MAUI workloads | |
run: | | |
dotnet workload install android | |
dotnet workload install ios | |
dotnet workload install maui | |
- name: Create an empty appsettings.secrets.json file | |
uses: DamianReeves/write-file-action@master | |
with: | |
path: ${{ env.PROJECT_DIR }}/appsettings.secrets.json | |
contents: "{}" | |
write-mode: preserve | |
- name: Build | |
run: dotnet build ${{ env.PROJECT_DIR }}/Logistics.DriverApp.csproj |