RoughDraft.GitHubWorkflow.psdevops.ps1

#requires -Module PSDevOps
Push-Location $PSScriptRoot
Import-BuildStep -ModuleName RoughDraft

New-GitHubWorkflow -Name "Analyze, Test, Tag, and Publish" -On Push, PullRequest, Demand -Job PowerShellStaticAnalysis, TestPowerShellOnLinux, TagReleaseAndPublish, MakeRoughDraft |
    Set-Content .\.github\workflows\TestAndPublish.yml -Encoding UTF8 -PassThru

Pop-Location