Follow new Fugro standard on open-source repositories #51
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 and Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
3.1.x | |
6.0.x | |
- name: Setup NuGet.exe for use with actions | |
uses: NuGet/setup-nuget@v1 | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.1 | |
- name: Restore and Build | |
run: ./build.bat | |
- name: Publish | |
uses: actions/upload-artifact@v2 | |
with: | |
name: package | |
path: .\*.nupkg |