Skip to content

Commit

Permalink
Release build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dtchepak committed Apr 28, 2024
1 parent 19b38fd commit 4855be5
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Release build
on:
workflow_dispatch:
push:
# tags:
# - 'v*'

env:
CONFIGURATION: Release

jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Setup Ruby for documentation build
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true

- name: Build package and docs
run: dotnet run --project 'build/build.fsproj' -- -t All

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

0 comments on commit 4855be5

Please sign in to comment.