mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
24 lines
642 B
YAML
24 lines
642 B
YAML
name: dotnet package
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
dotnet-version: ['3.0', '3.1.x', '5.0.x', '6.0.x' ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
|
|
uses: actions/setup-dotnet@v1.7.2
|
|
with:
|
|
dotnet-version: ${{ matrix.dotnet-version }}
|
|
- name: Install dependencies
|
|
run: dotnet restore MQTTnet.sln
|
|
- name: Build
|
|
run: dotnet build --configuration Release --no-restore MQTTnet.sln
|
|
- name: Test
|
|
run: dotnet test --no-restore --verbosity normal MQTTnet.sln |