7
7
- ' **.md'
8
8
- ' .github/workflows/*.yaml'
9
9
- ' !.github/workflows/CICD.yaml'
10
- branches : [ 'main', 'release/*', 'feature/*' ]
10
+ branches : [ 'main', 'release/*' ]
11
11
12
12
defaults :
13
13
run :
14
- shell : powershell
14
+ shell : pwsh
15
15
16
16
permissions :
17
17
actions : read
27
27
jobs :
28
28
Initialization :
29
29
needs : [ ]
30
- runs-on : [ windows -latest ]
30
+ runs-on : [ ubuntu -latest ]
31
31
outputs :
32
32
telemetryScopeJson : ${{ steps.init.outputs.telemetryScopeJson }}
33
33
environmentsMatrixJson : ${{ steps.DetermineDeploymentEnvironments.outputs.EnvironmentsMatrixJson }}
47
47
- name : Dump Workflow Information
48
48
uses : microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.3
49
49
with :
50
- shell : powershell
50
+ shell : pwsh
51
51
52
52
- name : Checkout
53
53
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -58,21 +58,21 @@ jobs:
58
58
id : init
59
59
uses : microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
60
60
with :
61
- shell : powershell
61
+ shell : pwsh
62
62
63
63
- name : Read settings
64
64
id : ReadSettings
65
65
uses : microsoft/AL-Go-Actions/ReadSettings@v6.3
66
66
with :
67
- shell : powershell
67
+ shell : pwsh
68
68
get : type,powerPlatformSolutionFolder,useGitSubmodules
69
69
70
70
- name : Read submodules token
71
71
id : ReadSubmodulesToken
72
72
if : env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
73
73
uses : microsoft/AL-Go-Actions/ReadSecrets@v6.3
74
74
with :
75
- shell : powershell
75
+ shell : pwsh
76
76
gitHubSecrets : ${{ toJson(secrets) }}
77
77
getSecrets : ' -gitSubmodulesToken'
78
78
93
93
id : determineProjectsToBuild
94
94
uses : microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.3
95
95
with :
96
- shell : powershell
96
+ shell : pwsh
97
97
maxBuildDepth : ${{ env.workflowDepth }}
98
98
99
99
- name : Determine PowerPlatform Solution Folder
@@ -106,15 +106,15 @@ jobs:
106
106
id : DetermineDeliveryTargetSecrets
107
107
uses : microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.3
108
108
with :
109
- shell : powershell
109
+ shell : pwsh
110
110
projectsJson : ' ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
111
111
checkContextSecrets : ' false'
112
112
113
113
- name : Read secrets
114
114
id : ReadSecrets
115
115
uses : microsoft/AL-Go-Actions/ReadSecrets@v6.3
116
116
with :
117
- shell : powershell
117
+ shell : pwsh
118
118
gitHubSecrets : ${{ toJson(secrets) }}
119
119
getSecrets : ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
120
120
@@ -124,7 +124,7 @@ jobs:
124
124
env :
125
125
Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
126
126
with :
127
- shell : powershell
127
+ shell : pwsh
128
128
projectsJson : ' ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
129
129
checkContextSecrets : ' true'
130
130
@@ -134,27 +134,27 @@ jobs:
134
134
env :
135
135
GITHUB_TOKEN : ${{ github.token }}
136
136
with :
137
- shell : powershell
137
+ shell : pwsh
138
138
getEnvironments : ' *'
139
139
type : ' CD'
140
140
141
141
CheckForUpdates :
142
142
needs : [ Initialization ]
143
- runs-on : [ windows -latest ]
143
+ runs-on : [ ubuntu -latest ]
144
144
steps :
145
145
- name : Checkout
146
146
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
147
147
148
148
- name : Read settings
149
149
uses : microsoft/AL-Go-Actions/ReadSettings@v6.3
150
150
with :
151
- shell : powershell
151
+ shell : pwsh
152
152
get : templateUrl
153
153
154
154
- name : Check for updates to AL-Go system files
155
155
uses : microsoft/AL-Go-Actions/CheckForUpdates@v6.3
156
156
with :
157
- shell : powershell
157
+ shell : pwsh
158
158
templateUrl : ${{ env.templateUrl }}
159
159
downloadLatest : true
160
160
@@ -182,7 +182,7 @@ jobs:
182
182
DeployALDoc :
183
183
needs : [ Initialization, Build ]
184
184
if : (!cancelled()) && needs.Build.result == 'Success' && needs.Initialization.outputs.generateALDocArtifact == 1 && github.ref_name == 'main'
185
- runs-on : [ windows -latest ]
185
+ runs-on : [ ubuntu -latest ]
186
186
name : Deploy Reference Documentation
187
187
permissions :
188
188
contents : read
@@ -204,7 +204,7 @@ jobs:
204
204
- name : Read settings
205
205
uses : microsoft/AL-Go-Actions/ReadSettings@v6.3
206
206
with :
207
- shell : powershell
207
+ shell : pwsh
208
208
209
209
- name : Setup Pages
210
210
if : needs.Initialization.outputs.deployALDocArtifact == 1
@@ -213,7 +213,7 @@ jobs:
213
213
- name : Build Reference Documentation
214
214
uses : microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.3
215
215
with :
216
- shell : powershell
216
+ shell : pwsh
217
217
artifacts : ' .artifacts'
218
218
219
219
- name : Upload pages artifact
@@ -286,7 +286,7 @@ jobs:
286
286
env :
287
287
Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
288
288
with :
289
- shell : powershell
289
+ shell : pwsh
290
290
environmentName : ${{ matrix.environment }}
291
291
artifactsFolder : ' .artifacts'
292
292
deploymentEnvironmentsJson : ${{ needs.Initialization.outputs.deploymentEnvironmentsJson }}
@@ -298,7 +298,7 @@ jobs:
298
298
matrix :
299
299
deliveryTarget : ${{ fromJson(needs.Initialization.outputs.deliveryTargetsJson) }}
300
300
fail-fast : false
301
- runs-on : [ windows -latest ]
301
+ runs-on : [ ubuntu -latest ]
302
302
name : Deliver to ${{ matrix.deliveryTarget }}
303
303
steps :
304
304
- name : Checkout
@@ -312,13 +312,13 @@ jobs:
312
312
- name : Read settings
313
313
uses : microsoft/AL-Go-Actions/ReadSettings@v6.3
314
314
with :
315
- shell : powershell
315
+ shell : pwsh
316
316
317
317
- name : Read secrets
318
318
id : ReadSecrets
319
319
uses : microsoft/AL-Go-Actions/ReadSecrets@v6.3
320
320
with :
321
- shell : powershell
321
+ shell : pwsh
322
322
gitHubSecrets : ${{ toJson(secrets) }}
323
323
getSecrets : ' ${{ matrix.deliveryTarget }}Context'
324
324
@@ -327,7 +327,7 @@ jobs:
327
327
env :
328
328
Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
329
329
with :
330
- shell : powershell
330
+ shell : pwsh
331
331
type : ' CD'
332
332
projects : ${{ needs.Initialization.outputs.projects }}
333
333
deliveryTarget : ${{ matrix.deliveryTarget }}
@@ -336,7 +336,7 @@ jobs:
336
336
PostProcess :
337
337
needs : [ Initialization, Build, Deploy, Deliver, DeployALDoc ]
338
338
if : (!cancelled())
339
- runs-on : [ windows -latest ]
339
+ runs-on : [ ubuntu -latest ]
340
340
steps :
341
341
- name : Checkout
342
342
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -347,6 +347,6 @@ jobs:
347
347
env :
348
348
GITHUB_TOKEN : ${{ github.token }}
349
349
with :
350
- shell : powershell
350
+ shell : pwsh
351
351
telemetryScopeJson : ${{ needs.Initialization.outputs.telemetryScopeJson }}
352
352
currentJobContext : ${{ toJson(job) }}
0 commit comments