Skip to content

Commit

Permalink
Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
dtchepak committed Apr 28, 2024
1 parent 8382ff7 commit 45aaee7
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Release build
on:
workflow_dispatch:
push:
tags:
- 'v*'
# tags:
# - 'v*'

env:
CONFIGURATION: Release
Expand All @@ -13,10 +13,12 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
Expand All @@ -30,4 +32,16 @@ jobs:
bundler-cache: true

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

- name: Check output
shell: bash
run: ls -alR *

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

0 comments on commit 45aaee7

Please sign in to comment.