获取当前 commit 的代码进行重写 #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: | | |
2.2.x | |
3.1.x | |
5.0.x | |
6.0.x | |
- name: Build with dotnet | |
run: dotnet build package\Lindexi.Package.sln --configuration Release | |
- name: Test | |
run: dotnet test package\Lindexi.Package.sln --configuration Release |