Skip to content

Commit 16c5126

Browse files
committed
Migrate to use GitHub CI workflow
1 parent 79c9052 commit 16c5126

2 files changed

Lines changed: 42 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- '*.md'
7+
- '*.txt'
8+
- '.git*'
9+
pull_request:
10+
paths-ignore:
11+
- '*.md'
12+
- '*.txt'
13+
- '.git*'
14+
15+
jobs:
16+
build:
17+
runs-on: windows-latest
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Setup .NET
24+
uses: actions/setup-dotnet@v4
25+
with:
26+
global-json-file: global.json
27+
28+
- name: Display .NET info
29+
run: dotnet --info
30+
31+
- name: Pack
32+
run: dotnet pack "-p:RepositoryCommit=${{ github.sha }}"
33+
34+
- name: Test
35+
run: ./test.cmd
36+
shell: cmd
37+
38+
- name: Upload NuGet packages
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: NuGet
42+
path: dist/*.nupkg

appveyor.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)