Build/GitHub/Jobs/BuildOP.psd1

@{
    "runs-on" = "ubuntu-latest"    
    if = '${{ success() }}'
    steps = @(
        @{
            name = 'Check out repository'
            uses = 'actions/checkout@main'
        }
        'RunEZOut'
        @{
            name = 'Run Action (on branch)'
            if   = '${{github.ref_name != ''main''}}'
            uses = './'
            id = 'OPAction'
        }
        @{
            uses = 'actions/upload-artifact@main'
            'id' = 'artifact-upload-step'
            'with' = @{
                name = 'op-test'
                path = @'
OP.zip
_site
'@
            
            }
        }
    )
}