docs(readme): some instructions #28
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: Build Library | |
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
build: | |
# 2019, has our .NET needs, latest does not | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v4 | |
# While this package targets .Net Framework 4.6.2, the dotnet 7 stuff will work. | |
- name: Setup .NET 7 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore |