From 184ab9d27ee53483d599f4df078051e8f83c0b8b Mon Sep 17 00:00:00 2001 From: David Tchepak Date: Mon, 29 Apr 2024 20:27:58 +1000 Subject: [PATCH] Release build - apply review comments - Rename workflow - Split artifact upload into packages and docs --- .github/workflows/release_build.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index 93346886..cbeef2cc 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -1,9 +1,9 @@ -name: Release build +name: Build release packages and documentation on: workflow_dispatch: push: - tags: - - 'v*' + # tags: + # - 'v*' env: CONFIGURATION: Release @@ -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/