HelpOut.GitHubWorkflow.PSDevOps.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#requires -Module HelpOut #requires -Module PSDevOps #requires -Module GitPub Push-Location $PSScriptRoot Import-BuildStep -Module GitPub Import-BuildStep -Module HelpOut New-GitHubWorkflow -Name "Test, Tag, Release, and Publish" -On Demand, Push -Job PowerShellStaticAnalysis, TestPowerShellOnLinux, TagReleaseAndPublish, BuildHelpOut -OutputPath .\.github\workflows\TestReleaseAndPublish.yml New-GitHubWorkflow -On Demand, Released -Job RunGitPub -Name OnIssueOrRelease -OutputPath .\.github\workflows\GitPub.yml Pop-Location |