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/