Skip to content

Commit

Permalink
Update AccuLadder.yml
Browse files Browse the repository at this point in the history
Trying again with a Windows setup
  • Loading branch information
jeremy-farrance authored Oct 29, 2023
1 parent db8892c commit ae7f832
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/AccuLadder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae7f832

Please sign in to comment.