Skip to content

Commit d2f9774

Browse files
committed
[edit] moved to GitHub actions
1 parent 7ed8653 commit d2f9774

File tree

2 files changed

+40
-19
lines changed

2 files changed

+40
-19
lines changed

.github/workflows/build.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build Package
2+
3+
on: push
4+
5+
defaults:
6+
run:
7+
working-directory: src
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest, windows-latest]
16+
17+
steps:
18+
- name: Code Checkout
19+
uses: actions/checkout@v2
20+
21+
- name: Install DotNet
22+
uses: actions/setup-dotnet@v1
23+
24+
- name: Restore Dependencies
25+
run: dotnet restore
26+
27+
- name: Build Package
28+
run: dotnet build --no-restore -c Release
29+
30+
- name: Perform Unit Testing
31+
run: dotnet test --no-build -c Release --verbosity normal
32+
33+
- name: Create Package
34+
run: dotnet pack --no-build -c Release -o ./publish
35+
36+
- name: Create packages artifact
37+
uses: actions/upload-artifact@v2
38+
with:
39+
name: Packages
40+
path: ./src/publish/

appveyor.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)