-
Notifications
You must be signed in to change notification settings - Fork 7
42 lines (31 loc) · 941 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Main
on:
pull_request:
push:
branches:
- master
tags:
- v*
env:
VERSION_PREFIX: 2.3.0
jobs:
all:
runs-on: windows-latest
timeout-minutes: 10
steps:
- uses: Brightspace/third-party-actions@actions/checkout
- uses: Brightspace/third-party-actions@actions/setup-dotnet
- run: dotnet tool restore
- name: Generate version properties
run: dotnet ci-version-properties --output VersionInfo.props && cat VersionInfo.props
- name: Build
run: dotnet build -c Release
- name: Test
run: dotnet test -c Release --no-build
- name: Pack
run: dotnet pack -c Release --no-build
- name: Archive
uses: Brightspace/third-party-actions@actions/upload-artifact
with:
name: D2L.Hypermedia.Siren.${{ github.sha }}
path: '**/*.symbols.nupkg'