:construction_worker:添加CI构建系统

This commit is contained in:
Amazing_DM
2020-03-19 17:24:15 +08:00
parent 89c3ffaaf6
commit bf8dd98013
4 changed files with 223 additions and 112 deletions

36
.github/workflows/dotnetcore.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: GitHub CI .Net 4.8
on: [push]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: submodules-init
uses: snickerbockers/submodules-init@v4
- uses: nuget/setup-nuget@v1
- run: nuget restore Netch.sln
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.0
- name: Build .NET 4.8 Netch
shell: pwsh
run: |
.\build.ps1
- name: Upload Netch.x64
uses: actions/upload-artifact@v1
with:
name: Netch.X64
path: Netch\bin\x64\Release\win-x64
- name: Upload Netch.x86
uses: actions/upload-artifact@v1
with:
name: Netch.X86
path: Netch\bin\x86\Release\win-x86