Skip to content

Bump Roslynator.Analyzers from 4.12.2 to 4.12.3 (#210) #270

Bump Roslynator.Analyzers from 4.12.2 to 4.12.3 (#210)

Bump Roslynator.Analyzers from 4.12.2 to 4.12.3 (#210) #270

Workflow file for this run

on:
push:
branches:
- main
pull_request:
jobs:
build:
name: windows-latest
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # for minver
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- name: Setup .NET Core for Wyam
if: contains(github.event.head_commit.message, '[build-doc]') && github.ref == 'refs/heads/main'
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.1.811
- name: Execute build
run: |
dotnet build --configuration Release /nologo
dotnet test --configuration Release
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: strinken
path: artifacts/*
- name: Generate doc
if: contains(github.event.head_commit.message, '[build-doc]') && github.ref == 'refs/heads/main'
run: |
dotnet tool install -g wyam.tool
wyam build docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: contains(github.event.head_commit.message, '[build-doc]') && github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/output
commit_message: Update docs with commit