浏览代码
Create dotnetcore.yml
tags/v2.2.0
SmallChi(Koike)
5 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
23 次插入 和
0 次删除
-
.github/workflows/dotnetcore.yml
|
|
@@ -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/JT809.Protocol.sln |
|
|
|
- name: dotnet build |
|
|
|
run: dotnet build ./src/JT809.Protocol.Test/JT809.Protocol.Test.csproj |
|
|
|
- name: dotnet test |
|
|
|
run: dotnet test ./src/JT809.Protocol.Test/JT809.Protocol.Test.csproj |