Update build-maui-win.yml #115
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: Build ALL (Avalonia) | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
env: | |
Solution_Name_MB: "Media Blocks SDK/VisioForge.MediaBlocks.Demos.CS Avalonia.sln" | |
Solution_Name_MP: "Media Player SDK X/VisioForge.MediaPlayer.X.Demos.CS.Avalonia.sln" | |
Solution_Name_VC: "Video Capture SDK X/VisioForge.VideoCaptureX.Demos.CS Avalonia.sln" | |
Solution_Name_VE: "Video Edit SDK X/VisioForge.VideoEdit.X.Demos.CS.Avalonia.sln" | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: | | |
8.0.x | |
- name: Install macos workload | |
run: dotnet workload install macos | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
## Media Blocks | |
- name: Restore dependencies $env:Solution_Name_MB | |
run: dotnet restore $env:Solution_Name_MB | |
- name: Build app for release $env:Solution_Name_MB | |
run: msbuild $env:Solution_Name_MB -t:rebuild -verbosity:diag -property:Configuration=Release | |
## Media Player | |
- name: Restore dependencies $env:Solution_Name_MP | |
run: dotnet restore $env:Solution_Name_MP | |
- name: Build app for release $env:Solution_Name_MP | |
run: msbuild $env:Solution_Name_MP -t:rebuild -verbosity:diag -property:Configuration=Release | |
## Video Capture | |
- name: Restore dependencies $env:Solution_Name_VC | |
run: dotnet restore $env:Solution_Name_VC | |
- name: Build app for release $env:Solution_Name_VC | |
run: msbuild $env:Solution_Name_VC -t:rebuild -verbosity:diag -property:Configuration=Release | |
## Video Edit | |
- name: Restore dependencies $env:Solution_Name_VE | |
run: dotnet restore $env:Solution_Name_VE | |
- name: Build app for release $env:Solution_Name_VE | |
run: msbuild $env:Solution_Name_VE -t:rebuild -verbosity:diag -property:Configuration=Release |