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 184ab9d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release build
name: Build release packages and documentation
on:
workflow_dispatch:
push:
tags:
- 'v*'
# tags:
# - 'v*'

env:
CONFIGURATION: Release
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 184ab9d

Please sign in to comment.