feat: basic skeleton for prompting for money at shrine #421
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
name: .NET | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: [windows-latest] | |
strategy: | |
matrix: | |
dotnet: [ '3.1.x' ] | |
steps: | |
- name: Checkout Main branch of Ultima5Redux | |
uses: actions/checkout@v2 | |
- name: Checkout Ultima5ReduxTestDependancies | |
uses: actions/checkout@v2 | |
with: | |
repository: bradhannah/Ultima5ReduxTestDependancies | |
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT | |
path: Ultima5ReduxTestDependancies | |
# - name: Show me the name of my save file | |
# run: echo %USERPROFILE%\Documents\UltimaVRedux | |
# | |
# - name: Make save directory | |
# run: mkdir %USERPROFILE%\Documents\UltimaVRedux | |
# | |
# - name: Copy New Save format to home directory | |
# run: xcopy Ultima5ReduxTestDependancies\NewSaves\* "%USERPROFILE%\Documents\UltimaVRedux" /E /Y /s | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1.1 | |
- name: Setup NuGet | |
# You may pin to the exact commit or the version. | |
# uses: NuGet/setup-nuget@04b0c2b8d1b97922f67eca497d7cf0bf17b8ffe1 | |
uses: NuGet/setup-nuget@v1.0.5 | |
- name: Restore NuGet packages | |
run: nuget restore Ultima5ReduxSolution.sln | |
- name: Build the Solution | |
run: msbuild Ultima5ReduxSolution.sln | |
- name: NUnit Console Runner | |
run: .\packages\NUnit.ConsoleRunner.3.13.0\tools\nunit3-console.exe Ultima5ReduxTesting\bin\Debug\net48\Ultima5ReduxTesting.dll --testparam:DataDirectory="Ultima5ReduxTestDependancies/DataFiles" --testparam:SaveRootDirectory="Ultima5ReduxTestDependancies/Saves" --testparam:NewSaveRootDirectory="Ultima5ReduxTestDependancies/NewSaves" |