Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Eng authored Nov 26, 2021
1 parent 30fa6fd commit a3fc664
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build

on:
push:
pull_request:
branches: [ v0.7.0 ]

env:
DOTNET_VERSION: '5.0.x' # The .NET SDK version to use

jobs:
build:

name: build-${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
dotnet-version: [env.DOTNET_VERSION]
steps:
- uses: actions/checkout@v2

- name: setup-msbuild
uses: microsoft/setup-msbuild@v1.1

- name: Setup NuGet.exe for use with actions
uses: NuGet/setup-nuget@v1.0.5

- name: Restore Nuget
run: nuget restore ProximaX.Sirius.Chain.Sdk.sln

- name: Build
run: msbuild ProximaX.Sirius.Chain.Sdk.sln

0 comments on commit a3fc664

Please sign in to comment.