Github/Jobs/BuildPipeScript.psd1
@{ "runs-on" = "ubuntu-latest" if = '${{ success() }}' steps = @( @{ name = 'Check out repository' uses = 'actions/checkout@v2' }, @{ name = 'Use PSSVG Action' uses = 'StartAutomating/PSSVG@main' id = 'PSSVG' }, 'RunPiecemeal', @{ name = 'Run PipeScript (from main)' if = '${{github.ref_name == ''main''}}' uses = 'StartAutomating/PipeScript@main' id = 'PipeScriptMain' }, @{ name = 'Run PipeScript (on branch)' if = '${{github.ref_name != ''main''}}' uses = './' id = 'PipeScriptBranch' } 'RunEZOut', 'RunHelpOut' ) } |