From 91b728737ce5d6a29187203520a48d50bb3ab5f5 Mon Sep 17 00:00:00 2001 From: David Tchepak Date: Sat, 20 Apr 2024 18:10:21 +1000 Subject: [PATCH] Release build workflow --- .github/workflows/release_build.yml | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/release_build.yml diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml new file mode 100644 index 00000000..ad5aae0a --- /dev/null +++ b/.github/workflows/release_build.yml @@ -0,0 +1,37 @@ +name: Release build +on: + push: + tags: + - 'v*' + workflow_dispatch + +env: + CONFIGURATION: Release + +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 6.0.x + 7.0.x + 8.0.x + + - name: Build package + run: dotnet run --project 'build/build.fsproj' Package + + # used for documentation + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' + bundler-cache: true + + - name: Build docs + run: dotnet run --project 'build/build.fsproj' Documentation