Skip to content

.github/workflows/build-test.yml #3

.github/workflows/build-test.yml

.github/workflows/build-test.yml #3

Workflow file for this run

on: workflow_dispatch
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: Install .NET 9
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Pack
run: dotnet pack -c Release
- name: Add Tool
run: dotnet tool install --add-source .\MSBuildWorkspaceRunner\nupkg\ MSBuildWorkspaceRunner
- name: Run Tool
run: dotnet tool run msbuildworkspace "${{ github.workspace }}/ModernUO.sln"