-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (71 loc) · 2.16 KB
/
CreateApp.yaml
File metadata and controls
79 lines (71 loc) · 2.16 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Create a new app
on:
workflow_dispatch:
inputs:
project:
description: Project name if the repository is setup for multiple projects
required: false
default: '.'
name:
description: Name
required: true
publisher:
description: Publisher
required: true
idrange:
description: ID range (from..to)
required: true
directCommit:
description: Direct COMMIT (Y/N)
required: false
default: "N"
defaults:
run:
shell: PowerShell
jobs:
Initialization:
runs-on: [ windows-latest ]
outputs:
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Initialize the workflow
id: init
uses: microsoft/AL-Go-Actions/[email protected]
with:
eventId: "DO0092"
CreateApp:
runs-on: [ windows-latest ]
needs: [ Initialization ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Read settings
uses: microsoft/AL-Go-Actions/[email protected]
with:
parentTelemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }}
get: type
- name: Creating a new app
uses: microsoft/AL-Go-Actions/[email protected]
with:
project: ${{ github.event.inputs.project }}
type: ${{ env.type }}
name: ${{ github.event.inputs.name }}
publisher: ${{ github.event.inputs.publisher }}
idrange: ${{ github.event.inputs.idrange }}
directCommit: ${{ github.event.inputs.directCommit }}
parentTelemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }}
PostProcess:
if: always()
runs-on: [ windows-latest ]
needs: [ Initialization, CreateApp ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go-Actions/[email protected]
with:
eventId: "DO0092"
telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }}