Misc work #176
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: dotnet build | |
on: | |
push: | |
branches: [ "develop" ] | |
pull_request: | |
branches: [ "develop", "release/*", "main" ] | |
workflow_dispatch: | |
env: | |
DOTNET_VERSION: 'v7.0.101' # The .NET SDK version to use | |
jobs: | |
build: | |
name: build-${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Pull & update submodules | |
run: | | |
git submodule update --init --recursive | |
git submodule update --recursive --remote | |
- name: Setup .NET Core | |
uses: actions/[email protected] | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Install dependencies | |
run: dotnet restore ./src/ | |
- name: Build | |
run: dotnet build ./src/ --no-restore |