Irregular.GitHubWorkflow.PSDevops.ps1

#requires -Module PSDevOps
Push-Location $PSScriptRoot

Import-BuildStep -ModuleName Irregular
New-GitHubWorkflow -Name "Test, Tag, Release, and Publish" -Job PowerShellStaticAnalysis, TestPowerShellOnLinux, TagReleaseAndPublish -On Push, Demand |
    Set-Content .\.github\workflows\IrregularTests.yml -Encoding UTF8 -PassThru

New-GitHubWorkflow -Name "Run GitHub Action" -On Push, Demand -Job UseIrregularAction |
    Set-Content .\.github\workflows\RunIrregularAction.yml -Encoding UTF8 -PassThru
    

Pop-Location