Update readme document #3
Workflow file for this run
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 Package for CI | |
on: | |
push: | |
branches: | |
- "main" | |
- "develop" | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: | |
- "main" | |
- "develop" | |
env: | |
BUILD_CONFIGURATION: Release | |
DOTNET_VERSION: 8.0.x | |
CSPROJ_TO_BUILD: MAUIWifiManager.csproj | |
jobs: | |
build-sample-ci: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET ${{ env.DOTNET_VERSION }} | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Install .NET MAUI Workload | |
run: dotnet workload install maui | |
- name: Restore dependencies | |
run: dotnet restore src\MAUIWifiManager\${{ env.CSPROJ_TO_BUILD }} | |
- name: Build Package ${{ env.CSPROJ_TO_BUILD }} | |
run: dotnet build src\MAUIWifiManager\${{ env.CSPROJ_TO_BUILD }} -c ${{ env.BUILD_CONFIGURATION }} |