Skip to content

Commit

Permalink
chore: Moving Splatter GitHub definitions ( Fixes #38 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Sep 6, 2024
1 parent 75a86b0 commit d144134
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion Build/Splatter.GitHubAction.PSDevOps.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#requires -Module PSDevOps
#requires -Module Splatter
Import-BuildStep -ModuleName Splatter
Import-BuildStep -SourcePath (
$psScriptRoot | Join-Path -ChildPath "GitHub"
) -BuildSystem GitHubAction
Push-Location ($PSScriptRoot | Split-Path)
New-GitHubAction -Name "UseSplatter" -Description @'
Simple Scripts to Supercharge Splatting
Expand Down
6 changes: 4 additions & 2 deletions Build/Splatter.GitHubWorkflow.PSDevOps.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#requires -Module PSDevOps
Import-BuildStep -ModuleName Splatter
Import-BuildStep -SourcePath (
$psScriptRoot | Join-Path -ChildPath "GitHub"
) -BuildSystem GitHubWorkflow
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
BuildSplatter -OutputPath .\.github\workflows\TestBuildAndPublish.yml
Pop-Location

0 comments on commit d144134

Please sign in to comment.