Skip to content

Bookmark bug fix

Bookmark bug fix #70

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
env:
BUILD_CONFIG: 'Release'
SOLUTION: 'DocxTemplater.sln'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 #Fetch all history for all tags and branches
with:
fetch-depth: 0
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x 7.x 8.x
- name: Restore dependencies
run: nuget restore $SOLUTION
- name: Build
run: dotnet build $SOLUTION --configuration $BUILD_CONFIG --no-restore
- name: Run tests
run: dotnet test -c $BUILD_CONFIG --no-restore --no-build --verbosity normal