GitHub/Jobs/BuildPSMetrics.psd1

@{
    "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'
        },
        'RunPipeScript',
        'RunEZOut',
        'RunHelpOut',        
        @{
            name = 'Run PSMetrics (on branch)'
            if   = '${{github.ref_name != ''main''}}'
            uses = './'
            id = 'PSMetricsBranch'
        }
    )
}