Prevent DCT from displaying in route #56
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: Pull Request and Pushes | |
on: | |
push: | |
branches: [ "master", "main" ] | |
pull_request: | |
branches: [ "master", "main" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild | |
- name: Setup MSBuild.exe | |
uses: microsoft/setup-msbuild@v2 | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Download and install vatsys | |
run: | | |
curl https://vatsys.sawbe.com/downloads/vatSysSetup.zip -o vatsys.zip | |
7z x vatsys.zip | |
mkdir ${{ runner.temp }}\vatsys | |
msiexec /a vatSysSetup.msi /qb TARGETDIR=${{ runner.temp }}\vatsys | |
- name: Build | |
run: msbuild /t:build /m /v:minimal /p:VatSysDir='${{ runner.temp }}\vatsys' | |
#- name: Test | |
# run: dotnet test --no-build --verbosity normal |