Build/ollama-powershell.GitHubWorkflow.PSDevOps.ps1
#requires -Module PSDevOps Import-BuildStep -SourcePath ( Join-Path $PSScriptRoot 'GitHub' ) -BuildSystem GitHubWorkflow Push-Location ($PSScriptRoot | Split-Path) New-GitHubWorkflow -Name "Build ollama-powershell" -On Push, PullRequest, Demand -Job TestPowerShellOnLinux, TagReleaseAndPublish, BuildOllamaPowerShell -Environment ([Ordered]@{ REGISTRY = 'ghcr.io' IMAGE_NAME = '${{ github.repository }}' }) -OutputPath .\.github\workflows\BuildOllamaPowerShell.yml Pop-Location |