Browse Source

增加Actions及修改文档

tags/v2.2.6
smallchi(Koike) 5 years ago
parent
commit
aa86ec40bb
2 changed files with 24 additions and 0 deletions
  1. +23
    -0
      .github/workflows/dotnetcore.yml
  2. +1
    -0
      README.md

+ 23
- 0
.github/workflows/dotnetcore.yml View File

@@ -0,0 +1,23 @@
name: .NET Core

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Setup .NET Core
uses: actions/setup-dotnet@master
with:
dotnet-version: 3.1.101
- name: dotnet info
run: dotnet --info
- name: dotnet restore
run: dotnet restore ./src/JT808.Protocol.sln
- name: dotnet build
run: dotnet build ./src/JT808.Protocol.Test/JT808.Protocol.Test.csproj
- name: dotnet test
run: dotnet test ./src/JT808.Protocol.Test/JT808.Protocol.Test.csproj

+ 1
- 0
README.md View File

@@ -1,6 +1,7 @@
# JT808协议 # JT808协议


[![MIT Licence](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/SmallChi/JT808/blob/master/LICENSE)[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSmallChi%2FJT808.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FSmallChi%2FJT808?ref=badge_shield)[![Build Status](https://travis-ci.org/SmallChi/JT808.svg?branch=master)](https://travis-ci.org/SmallChi/JT808) [![MIT Licence](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/SmallChi/JT808/blob/master/LICENSE)[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FSmallChi%2FJT808.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FSmallChi%2FJT808?ref=badge_shield)[![Build Status](https://travis-ci.org/SmallChi/JT808.svg?branch=master)](https://travis-ci.org/SmallChi/JT808)
[![Github Build Status](https://github.com/SmallChi/JT808/workflows/dotnetcore/badge.svg?branch=master)](https://github.com/SmallChi/JT808/actions?query=workflow%3Adotnetcore+branch%3Amaster)


## 前提条件 ## 前提条件




Loading…
Cancel
Save