Merge pull request #482 from joelverhagen/linq-single #266
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: Run Test Case | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Get Project TargetFramework Name | |
id: getprojecttargetframework | |
uses: mavrosxristoforos/[email protected] | |
with: | |
xml-file: 'CSharp.lua.Launcher/CSharp.lua.Launcher.csproj' | |
xpath: '//TargetFramework' | |
- name: Get Project net version | |
id: getnetversion | |
uses: bhowell2/[email protected] | |
with: | |
value: '${{steps.getprojecttargetframework.outputs.info}}' | |
index_of_str: 'net' | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: ${{steps.getnetversion.outputs.substring}}.x | |
- name: clear | |
run: dotnet clean --configuration Debug && dotnet nuget locals all --clear | |
- name: Build with dotnet | |
run: dotnet build --configuration Debug | |
- name: Run Test Case | |
run: cd test/ & test | |
shell: cmd |