Skip to content

Commit

Permalink
feat: Adding Emoji Build Definition ( Fixes #1, Fixes #2 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Feb 21, 2024
1 parent 3514828 commit b1085b6
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Build/Emoji.GitHubWorkflow.PSDevOps.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#requires -Module PSDevOps
Import-BuildStep -SourcePath (
Join-Path $PSScriptRoot 'GitHub'
) -BuildSystem GitHubWorkflow

Push-Location ($PSScriptRoot | Split-Path)
New-GitHubWorkflow -Name "Build Emoji" -On Push,
PullRequest,
Demand -Job PowerShellStaticAnalysis,
TestPowerShellOnLinux,
TagReleaseAndPublish, BuildEmoji -OutputPath .\.github\workflows\BuildEmoji.yml

Pop-Location
27 changes: 27 additions & 0 deletions Build/GitHub/Jobs/BuildEmoji.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@{
"runs-on" = "ubuntu-latest"
if = '${{ success() }}'
steps = @(
@{
name = 'Check out repository'
uses = 'actions/checkout@v2'
},
@{
name = 'GitLogger'
uses = 'GitLogging/GitLoggerAction@main'
id = 'GitLogger'
},
@{
name = 'Use PSSVG Action'
uses = 'StartAutomating/PSSVG@main'
id = 'PSSVG'
},
@{
name = 'Use PipeScript Action'
uses = 'StartAutomating/PipeScript@main'
id = 'PipeScript'
}
'RunEZOut',
'RunHelpOut'
)
}

0 comments on commit b1085b6

Please sign in to comment.