Repository navigation
80 lines (72 loc) · 2.23 KB
/
Copy pathCreatePerformanceTestApp.yaml
File metadata and controls
80 lines (72 loc) · 2.23 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
80
name: 'Create a new performance test 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
default: '<YourAppName>.PerformanceTest'
publisher:
description: Publisher
required: true
idrange:
description: ID range
required: true
default: '50000..99999'
sampleCode:
description: Include Sample code (Y/N)
required: false
default: 'Y'
sampleSuite:
description: Include Sample BCPT Suite (Y/N)
required: false
default: 'Y'
directCommit:
description: Direct COMMIT (Y/N)
required: false
default: 'N'
permissions:
contents: write
pull-requests: write
defaults:
run:
shell: powershell
env:
ALGoOrgSettings: ${{ vars.ALGoOrgSettings }}
ALGoRepoSettings: ${{ vars.ALGoRepoSettings }}
jobs:
CreatePerformanceTestApp:
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Initialize the workflow
id: init
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v2.4
with:
shell: powershell
eventId: "DO0102"
- name: Creating a new test app
uses: microsoft/AL-Go-Actions/CreateApp@v2.4
with:
shell: powershell
parentTelemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
project: ${{ github.event.inputs.project }}
type: 'Performance Test App'
name: ${{ github.event.inputs.name }}
publisher: ${{ github.event.inputs.publisher }}
idrange: ${{ github.event.inputs.idrange }}
sampleCode: ${{ github.event.inputs.sampleCode }}
sampleSuite: ${{ github.event.inputs.sampleSuite }}
directCommit: ${{ github.event.inputs.directCommit }}
- name: Finalize the workflow
if: always()
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v2.4
with:
shell: powershell
eventId: "DO0102"
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}