Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.

Commit 38f2eb6

Browse files
authored
ci: add github action
1 parent cbcd792 commit 38f2eb6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/md2docx.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: build new md2docx-csharp
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
name: Checkout Code
13+
14+
- name: Setup MSBuild Path
15+
uses: warrenbuckley/Setup-MSBuild@v1
16+
17+
- name: Setup NuGet
18+
uses: NuGet/setup-nuget@v1.0.2
19+
20+
- name: Restore NuGet Packages
21+
run: nuget restore
22+
23+
- name: Test
24+
run: dotnet test
25+
26+
- name: Build md2docx-csharp
27+
run: MSBuild.exe Solution.sln /p:Configuration=Release /p:Platform="Any CPU"
28+
29+
- name: Upload Artifact
30+
uses: actions/upload-artifact@v1.0.0
31+
with:
32+
name: md2docx
33+
path: md2docx\bin\Release

0 commit comments

Comments
 (0)