Skip to content

Commit

Permalink
Release build - apply review comments
Browse files Browse the repository at this point in the history
- Rename workflow
- Split artifact upload into packages and docs
  • Loading branch information
dtchepak committed Apr 29, 2024
1 parent 6971c00 commit 67c0d29
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release build
name: Build release packages and documentation
on:
workflow_dispatch:
push:
Expand Down Expand Up @@ -34,11 +34,18 @@ jobs:
- name: Build package and docs
run: dotnet run --project 'build/build.fsproj' -- -t All

- name: Upload artifacts
- name: Upload packages
uses: actions/upload-artifact@v4
with:
name: packages
path: |
bin/Release/NSubstitute/*.nupkg
bin/Release/NSubstitute/*.snupkg
- name: Upload documentation
uses: actions/upload-artifact@v4
with:
name: docs
path: |
bin/Release/nsubstitute.github.com/

0 comments on commit 67c0d29

Please sign in to comment.