Skip to content

Commit 4ac3b30

Browse files
Henning BjørgoHenning Bjørgo
Henning Bjørgo
authored and
Henning Bjørgo
committed
Build and release
1 parent 750a5aa commit 4ac3b30

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.*.*'
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Build and Test
14+
run: ./Build.ps1
15+
shell: pwsh
16+
- name: Push to NuGet
17+
env:
18+
NUGET_URL: https://api.nuget.org/v3/index.json
19+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
20+
run: ./Push.ps1
21+
shell: pwsh
22+
- name: Artifacts
23+
uses: actions/upload-artifact@v2
24+
with:
25+
name: artifacts
26+
path: artifacts/**/*

0 commit comments

Comments
 (0)