mirror of
https://github.com/xoofx/markdig.git
synced 2026-10-04 20:58:47 +00:00
32 lines
658 B
YAML
32 lines
658 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- 'doc/**'
|
|
- 'img/**'
|
|
- 'changelog.md'
|
|
- 'readme.md'
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- name: Install .NET 6.0
|
|
uses: actions/setup-dotnet@v1
|
|
with:
|
|
dotnet-version: '6.0.x'
|
|
|
|
- name: Build, Test, Pack, Publish
|
|
shell: bash
|
|
run: |
|
|
dotnet tool install -g dotnet-releaser
|
|
dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml |