forked from nsubstitute/NSubstitute
-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (39 loc) · 948 Bytes
/
release_build.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
43
44
45
46
name: Release build
on:
workflow_dispatch:
push:
# tags:
# - 'v*'
env:
CONFIGURATION: Release
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Setup Ruby for documentation build
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Build package and docs
run: dotnet run --project 'build/build.fsproj' -- -t All
- name: Check output
shell: bash
run: ls -alR *
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
path: |
bin/Release/NSubstitute/*.nupkg
bin/Release/NSubstitute/*.snupkg