.github/workflows/build-test.yml #3
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
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" |