-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,29 +7,28 @@ on: | |
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET (standard2) | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '3.1.x' # Using .NET Core 3.1 as it includes .NET Standard 2.0 | ||
|
||
- name: Restore Dependencies | ||
run: dotnet restore | ||
- name: Setup MSBuild Path | ||
uses: microsoft/[email protected] | ||
|
||
- name: Restore NuGet Packages | ||
run: msbuild /t:restore | ||
|
||
- name: Build Solution | ||
run: msbuild /p:Configuration=Release | ||
|
||
- name: Build | ||
run: dotnet build --no-restore | ||
|
||
- name: Install DocFX | ||
run: dotnet tool install --global docfx | ||
run: choco install docfx -y | ||
|
||
- name: Generate Documentation | ||
run: | | ||
export PATH="$PATH:/home/runner/.dotnet/tools" | ||
docfx ./docfx/docfx.json | ||
# - name: Move Documentation to Subfolder | ||
|