Skip to content

Commit

Permalink
Updating Irregular Build (Using Piecemeal, re #179)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Feb 2, 2023
1 parent 880fa9e commit 5fef13e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Irregular.GitHubWorkflow.PSDevops.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
Push-Location $PSScriptRoot

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

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

New-GitHubWorkflow -On Issue, Demand -Job RunGitPub -Name OnIssueChanged |
Set-Content (Join-Path $PSScriptRoot .github\workflows\OnIssue.yml) -Encoding UTF8 -PassThru

New-GitHubWorkflow -On Issue,
Demand -Job RunGitPub -Name OnIssueChanged -OutputPath .\.github\workflows\OnIssue.yml

Pop-Location

0 comments on commit 5fef13e

Please sign in to comment.