forked from microsoft/AL-Go-Actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
35 lines (35 loc) · 1.13 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
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: ''
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 }}
_actionsRef: ${{ inputs.actionsRef }}
run: |
${{ github.action_path }}/../Invoke-AlGoAction.ps1 -ActionName "WorkflowPostProcess" -Action {
${{ github.action_path }}/WorkflowPostProcess.ps1 -telemetryScopeJson $ENV:_telemetryScopeJson -currentJobContext $ENV:_currentJobContext -actionsRef $ENV:_actionsRef
}
branding:
icon: terminal
color: blue