Fixes #139 #29
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: ModelCompiler .NET Tool build | |
on: | |
push: | |
branches: [ master, nuget* ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
PUBLISHNUGET: false | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Set up .NET 6 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.x' | |
- name: Restore dependencies | |
run: dotnet restore "ModelCompiler Solution.sln" | |
- name: Build | |
run: dotnet build --no-restore --configuration Docker "ModelCompiler Solution.sln" | |