Skip to content

Commit 184ab9d

Browse files
committed
Release build - apply review comments
- Rename workflow - Split artifact upload into packages and docs
1 parent 6971c00 commit 184ab9d

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/release_build.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Release build
1+
name: Build release packages and documentation
22
on:
33
workflow_dispatch:
44
push:
5-
tags:
6-
- 'v*'
5+
# tags:
6+
# - 'v*'
77

88
env:
99
CONFIGURATION: Release
@@ -34,11 +34,18 @@ jobs:
3434
- name: Build package and docs
3535
run: dotnet run --project 'build/build.fsproj' -- -t All
3636

37-
- name: Upload artifacts
37+
- name: Upload packages
3838
uses: actions/upload-artifact@v4
3939
with:
40+
name: packages
4041
path: |
4142
bin/Release/NSubstitute/*.nupkg
4243
bin/Release/NSubstitute/*.snupkg
44+
45+
- name: Upload documentation
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: docs
49+
path: |
4350
bin/Release/nsubstitute.github.com/
4451

0 commit comments

Comments
 (0)