-
Notifications
You must be signed in to change notification settings - Fork 28
/
action.yaml
40 lines (40 loc) · 1.33 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Workflow Post Process
author: Microsoft Corporation
inputs:
shell:
description: Shell in which you want to run the action (powershell or pwsh)
required: false
default: powershell
telemetryScopeJson:
description: Telemetry scope generated during the workflow initialization
required: false
default: '7b7d'
currentJobContext:
description: The current job context
required: false
default: ''
actionsRepo:
description: The repository of the action
required: false
default: ${{ github.action_repository }}
actionsRef:
description: The ref of the action
required: false
default: ${{ github.action_ref }}
runs:
using: composite
steps:
- name: run
shell: ${{ inputs.shell }}
env:
_telemetryScopeJson: ${{ inputs.telemetryScopeJson }}
_currentJobContext: ${{ inputs.currentJobContext }}
_actionsRepo: ${{ inputs.actionsRepo }}
_actionsRef: ${{ inputs.actionsRef }}
run: |
${{ github.action_path }}/../Invoke-AlGoAction.ps1 -ActionName "WorkflowPostProcess" -Action {
${{ github.action_path }}/WorkflowPostProcess.ps1 -telemetryScopeJson $ENV:_telemetryScopeJson -currentJobContext $ENV:_currentJobContext -actionsRepo $ENV:_actionsRepo -actionsRef $ENV:_actionsRef
}
branding:
icon: terminal
color: blue