Fix: Forgot to upgrade workflows to dotnet 8 #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish documentation | |
on: | |
push: | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
build: | |
runs-on: windows-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build Serilog.Sinks.Mongodb.TimeSeries | |
run: dotnet build --no-restore --configuration Release | |
- name: Test Serilog.Sinks.Mongodb.TimeSeries | |
run: dotnet test --no-build --configuration Release --logger GitHubActions | |
- name: Setup DocFX | |
uses: crazy-max/ghaction-chocolatey@v1 | |
with: | |
args: install docfx | |
- name: DocFX Build | |
working-directory: docs | |
run: docfx docfx.json | |
continue-on-error: false | |
- name: Publish documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.PAT }} | |
publish_dir: docs/_site | |
force_orphan: true | |
cname: sinks-mongodb-timeseries.brammys.com |