Skip to content

Update FmMain.cs

Update FmMain.cs #92

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'README_en.md'
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- 'README_en.md'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Nuget
uses: NuGet/setup-nuget@v1.2.0
- name: Restore nuget packages
run: nuget restore .\src\JiuLing.AutoUpgrade.sln
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Build core app
run: msbuild .\src\JiuLing.AutoUpgrade\JiuLing.AutoUpgrade.csproj
- name: Waiting for file copy
run: Start-Sleep -s 30
shell: powershell
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore .\src\JiuLing.AutoUpgrade.sln
- name: Build shell app
run: dotnet build .\src\JiuLing.AutoUpgrade.Shell\JiuLing.AutoUpgrade.Shell.csproj --no-restore
- name: Build test app
run: dotnet build .\src\JiuLing.AutoUpgrade.Test\JiuLing.AutoUpgrade.Test.csproj --no-restore