Build/Splatter.GitHubWorkflow.PSDevOps.ps1

#requires -Module PSDevOps
Import-BuildStep -ModuleName Splatter
Push-Location ($PSScriptRoot | Split-Path)
New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push, PullRequest, Demand -Job PowerShellStaticAnalysis,
    TestPowerShellOnLinux,
    TagReleaseAndPublish,
    BuildSplatter  -OutputPath .\.github\workflows\TestBuildAndPublish.yml
Pop-Location