43
43
workflowDepth : ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
44
44
steps :
45
45
- name : Dump Workflow Information
46
- uses : microsoft/AL-Go-Actions/DumpWorkflowInfo@v5.0
46
+ uses : microsoft/AL-Go-Actions/DumpWorkflowInfo@v5.1
47
47
with :
48
48
shell : powershell
49
49
@@ -54,14 +54,14 @@ jobs:
54
54
55
55
- name : Initialize the workflow
56
56
id : init
57
- uses : microsoft/AL-Go-Actions/WorkflowInitialize@v5.0
57
+ uses : microsoft/AL-Go-Actions/WorkflowInitialize@v5.1
58
58
with :
59
59
shell : powershell
60
60
eventId : " DO0091"
61
61
62
62
- name : Read settings
63
63
id : ReadSettings
64
- uses : microsoft/AL-Go-Actions/ReadSettings@v5.0
64
+ uses : microsoft/AL-Go-Actions/ReadSettings@v5.1
65
65
with :
66
66
shell : powershell
67
67
get : type
@@ -73,30 +73,30 @@ jobs:
73
73
74
74
- name : Determine Projects To Build
75
75
id : determineProjectsToBuild
76
- uses : microsoft/AL-Go-Actions/DetermineProjectsToBuild@v5.0
76
+ uses : microsoft/AL-Go-Actions/DetermineProjectsToBuild@v5.1
77
77
with :
78
78
shell : powershell
79
79
maxBuildDepth : ${{ env.workflowDepth }}
80
80
81
81
- name : Determine Delivery Target Secrets
82
82
id : DetermineDeliveryTargetSecrets
83
- uses : microsoft/AL-Go-Actions/DetermineDeliveryTargets@v5.0
83
+ uses : microsoft/AL-Go-Actions/DetermineDeliveryTargets@v5.1
84
84
with :
85
85
shell : powershell
86
86
projectsJson : ' ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
87
87
checkContextSecrets : ' false'
88
88
89
89
- name : Read secrets
90
90
id : ReadSecrets
91
- uses : microsoft/AL-Go-Actions/ReadSecrets@v5.0
91
+ uses : microsoft/AL-Go-Actions/ReadSecrets@v5.1
92
92
with :
93
93
shell : powershell
94
94
gitHubSecrets : ${{ toJson(secrets) }}
95
95
getSecrets : ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
96
96
97
97
- name : Determine Delivery Targets
98
98
id : DetermineDeliveryTargets
99
- uses : microsoft/AL-Go-Actions/DetermineDeliveryTargets@v5.0
99
+ uses : microsoft/AL-Go-Actions/DetermineDeliveryTargets@v5.1
100
100
env :
101
101
Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
102
102
with :
@@ -106,7 +106,7 @@ jobs:
106
106
107
107
- name : Determine Deployment Environments
108
108
id : DetermineDeploymentEnvironments
109
- uses : microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v5.0
109
+ uses : microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v5.1
110
110
env :
111
111
GITHUB_TOKEN : ${{ github.token }}
112
112
with :
@@ -122,13 +122,13 @@ jobs:
122
122
uses : actions/checkout@v4
123
123
124
124
- name : Read settings
125
- uses : microsoft/AL-Go-Actions/ReadSettings@v5.0
125
+ uses : microsoft/AL-Go-Actions/ReadSettings@v5.1
126
126
with :
127
127
shell : powershell
128
128
get : templateUrl
129
129
130
130
- name : Check for updates to AL-Go system files
131
- uses : microsoft/AL-Go-Actions/CheckForUpdates@v5.0
131
+ uses : microsoft/AL-Go-Actions/CheckForUpdates@v5.1
132
132
with :
133
133
shell : powershell
134
134
templateUrl : ${{ env.templateUrl }}
@@ -164,7 +164,7 @@ jobs:
164
164
runs-on : windows-latest
165
165
name : Deploy Reference Documentation
166
166
permissions :
167
- contents : write
167
+ contents : read
168
168
actions : read
169
169
pages : write
170
170
id-token : write
@@ -181,7 +181,7 @@ jobs:
181
181
path : ' .artifacts'
182
182
183
183
- name : Read settings
184
- uses : microsoft/AL-Go-Actions/ReadSettings@v5.0
184
+ uses : microsoft/AL-Go-Actions/ReadSettings@v5.1
185
185
with :
186
186
shell : powershell
187
187
@@ -190,7 +190,7 @@ jobs:
190
190
uses : actions/configure-pages@v5
191
191
192
192
- name : Build Reference Documentation
193
- uses : microsoft/AL-Go-Actions/BuildReferenceDocumentation@v5.0
193
+ uses : microsoft/AL-Go-Actions/BuildReferenceDocumentation@v5.1
194
194
with :
195
195
shell : powershell
196
196
artifacts : ' .artifacts'
@@ -211,6 +211,9 @@ jobs:
211
211
strategy : ${{ fromJson(needs.Initialization.outputs.environmentsMatrixJson) }}
212
212
runs-on : ${{ fromJson(matrix.os) }}
213
213
name : Deploy to ${{ matrix.environment }}
214
+ defaults :
215
+ run :
216
+ shell : ${{ matrix.shell }}
214
217
environment :
215
218
name : ${{ matrix.environment }}
216
219
url : ${{ steps.Deploy.outputs.environmentUrl }}
@@ -224,9 +227,9 @@ jobs:
224
227
path : ' .artifacts'
225
228
226
229
- name : Read settings
227
- uses : microsoft/AL-Go-Actions/ReadSettings@v5.0
230
+ uses : microsoft/AL-Go-Actions/ReadSettings@v5.1
228
231
with :
229
- shell : powershell
232
+ shell : ${{ matrix.shell }}
230
233
231
234
- name : EnvName
232
235
id : envName
@@ -237,19 +240,19 @@ jobs:
237
240
238
241
- name : Read secrets
239
242
id : ReadSecrets
240
- uses : microsoft/AL-Go-Actions/ReadSecrets@v5.0
243
+ uses : microsoft/AL-Go-Actions/ReadSecrets@v5.1
241
244
with :
242
- shell : powershell
245
+ shell : ${{ matrix.shell }}
243
246
gitHubSecrets : ${{ toJson(secrets) }}
244
247
getSecrets : ' ${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext,${{ steps.envName.outputs.envName }}-EnvironmentName,${{ steps.envName.outputs.envName }}_EnvironmentName,EnvironmentName,projects'
245
248
246
249
- name : Deploy
247
250
id : Deploy
248
- uses : microsoft/AL-Go-Actions/Deploy@v5.0
251
+ uses : microsoft/AL-Go-Actions/Deploy@v5.1
249
252
env :
250
253
Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
251
254
with :
252
- shell : powershell
255
+ shell : ${{ matrix.shell }}
253
256
environmentName : ${{ matrix.environment }}
254
257
artifacts : ' .artifacts'
255
258
type : ' CD'
@@ -274,20 +277,20 @@ jobs:
274
277
path : ' .artifacts'
275
278
276
279
- name : Read settings
277
- uses : microsoft/AL-Go-Actions/ReadSettings@v5.0
280
+ uses : microsoft/AL-Go-Actions/ReadSettings@v5.1
278
281
with :
279
282
shell : powershell
280
283
281
284
- name : Read secrets
282
285
id : ReadSecrets
283
- uses : microsoft/AL-Go-Actions/ReadSecrets@v5.0
286
+ uses : microsoft/AL-Go-Actions/ReadSecrets@v5.1
284
287
with :
285
288
shell : powershell
286
289
gitHubSecrets : ${{ toJson(secrets) }}
287
290
getSecrets : ' ${{ matrix.deliveryTarget }}Context'
288
291
289
292
- name : Deliver
290
- uses : microsoft/AL-Go-Actions/Deliver@v5.0
293
+ uses : microsoft/AL-Go-Actions/Deliver@v5.1
291
294
env :
292
295
Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
293
296
with :
@@ -307,7 +310,7 @@ jobs:
307
310
308
311
- name : Finalize the workflow
309
312
id : PostProcess
310
- uses : microsoft/AL-Go-Actions/WorkflowPostProcess@v5.0
313
+ uses : microsoft/AL-Go-Actions/WorkflowPostProcess@v5.1
311
314
with :
312
315
shell : powershell
313
316
eventId : " DO0091"
0 commit comments