Skip to content

Commit 2087886

Browse files
committed
ci: Add workflow
1 parent 7257f33 commit 2087886

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release-tag.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "release-tag"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- 2.*
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v1
16+
- name: Setup .NET Core
17+
uses: actions/setup-dotnet@v1
18+
- name: Build
19+
run: dotnet build -c Release
20+
- name: Tests
21+
run: dotnet test -c Release --no-build
22+
- name: Pack
23+
run: dotnet pack src -c Release --no-build -o artifacts/

0 commit comments

Comments
 (0)