Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: .NET Core

on: [push]

jobs:
build:
strategy:
matrix:
platform: [macos-latest, windows-latest]
dotnet: [ '3.0.100', '3.1.100' ]
runs-on: ${{ matrix.platform }}

steps:
- name: Get the sources
uses: actions/checkout@v1

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}

- name: Restore dotnet tools
run: dotnet tool restore

- name: Initialize build tooling
uses: cake-build/cake-action@v1
with:
cake-bootstrap: true

- name: Restore packages and dependencies
run: dotnet restore src/SharpInputSystem.sln

- name: Build SharpInputSystem
uses: cake-build/cake-action@v1
with:
target: Build
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ THE SOFTWARE.

<Project>
<ItemGroup>
<PackageReference Include="GitVersionTask" Version="4.0.0-beta*">
<PackageReference Include="GitVersion.MSBuild" Version="5.6.10">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "1.6.65"
"MSBuild.Sdk.Extras": "2.0.54"
}
}
}