42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# Syntax: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
|
|
# See also: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
|
|
|
|
# Description: This workflow exists to unblock documentation-only PRs.
|
|
|
|
# IMPORTANT: This workflow MUST use the same 'name' and 'matrix' as the non -md workflow.
|
|
|
|
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ 'main*' ]
|
|
paths:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
build-test-stable:
|
|
strategy:
|
|
matrix:
|
|
os: [ windows-latest, ubuntu-latest ]
|
|
version: [ net462, net6.0, net7.0 ]
|
|
exclude:
|
|
- os: ubuntu-latest
|
|
version: net462
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|
|
|
|
build-test-experimental:
|
|
strategy:
|
|
matrix:
|
|
os: [ windows-latest, ubuntu-latest ]
|
|
version: [ net462, net6.0, net7.0 ]
|
|
exclude:
|
|
- os: ubuntu-latest
|
|
version: net462
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: 'echo "No build required"'
|