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.07 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 Initialize
author: Microsoft Corporation
inputs:
shell:
description: Shell in which you want to run the action (powershell or pwsh)
required: false
default: powershell
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 }}
outputs:
telemetryScopeJson:
description: A telemetryScope that covers the workflow
value: ${{ steps.workflowinitialize.outputs.telemetryScopeJson }}
runs:
using: composite
steps:
- name: run
shell: ${{ inputs.shell }}
id: workflowinitialize
env:
_actionsRepo: ${{ inputs.actionsRepo }}
_actionsRef: ${{ inputs.actionsRef }}
run: |
${{ github.action_path }}/../Invoke-AlGoAction.ps1 -ActionName "WorkflowInitialize" -Action {
${{ github.action_path }}/WorkflowInitialize.ps1 -actionsRepo $ENV:_actionsRepo -actionsRef $ENV:_actionsRef
}
branding:
icon: terminal
color: blue