Skip to content

Commit 2a4e4b6

Browse files
committed
Update AL-Go System Files
1 parent 1ccf54a commit 2a4e4b6

20 files changed

+143
-135
lines changed

.AL-Go/cloudDevEnv.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ Write-Host -ForegroundColor Yellow @'
2727
$webClient = New-Object System.Net.WebClient
2828
$webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumentList ([System.Net.Cache.RequestCacheLevel]::NoCacheNoStore)
2929
$webClient.Encoding = [System.Text.Encoding]::UTF8
30-
$GitHubHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/bcptreport/Actions/Github-Helper.psm1'
30+
$GitHubHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/nuget/Actions/Github-Helper.psm1'
3131
Write-Host "Downloading GitHub Helper module from $GitHubHelperUrl"
3232
$GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1"
3333
$webClient.DownloadFile($GitHubHelperUrl, $GitHubHelperPath)
34-
$ALGoHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/bcptreport/Actions/AL-Go-Helper.ps1'
34+
$ALGoHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/nuget/Actions/AL-Go-Helper.ps1'
3535
Write-Host "Downloading AL-Go Helper script from $ALGoHelperUrl"
3636
$ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1"
3737
$webClient.DownloadFile($ALGoHelperUrl, $ALGoHelperPath)

.AL-Go/localDevEnv.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ Write-Host -ForegroundColor Yellow @'
3030
$webClient = New-Object System.Net.WebClient
3131
$webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumentList ([System.Net.Cache.RequestCacheLevel]::NoCacheNoStore)
3232
$webClient.Encoding = [System.Text.Encoding]::UTF8
33-
$GitHubHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/bcptreport/Actions/Github-Helper.psm1'
33+
$GitHubHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/nuget/Actions/Github-Helper.psm1'
3434
Write-Host "Downloading GitHub Helper module from $GitHubHelperUrl"
3535
$GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1"
3636
$webClient.DownloadFile($GitHubHelperUrl, $GitHubHelperPath)
37-
$ALGoHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/bcptreport/Actions/AL-Go-Helper.ps1'
37+
$ALGoHelperUrl = 'https://raw.githubusercontent.com/freddydk/AL-Go/nuget/Actions/AL-Go-Helper.ps1'
3838
Write-Host "Downloading AL-Go Helper script from $ALGoHelperUrl"
3939
$ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1"
4040
$webClient.DownloadFile($ALGoHelperUrl, $ALGoHelperPath)

.github/AL-Go-Settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"type": "PTE",
3-
"templateUrl": "https://github.com/freddydk/AL-Go@bcptreport",
3+
"templateUrl": "https://github.com/freddydk/AL-Go@nuget",
44
"repoName": "Ååå",
5-
"templateSha": "10f98f2810aebb6f5ca54180a2d794ee24d7f15f"
5+
"templateSha": "679d5cf17e51b1cd558453f429df6e59bf2ce95c"
66
}

.github/workflows/AddExistingAppOrTestApp.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: [ windows-latest ]
4040
steps:
4141
- name: Dump Workflow Information
42-
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@bcptreport
42+
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@nuget
4343
with:
4444
shell: powershell
4545

@@ -48,27 +48,27 @@ jobs:
4848

4949
- name: Initialize the workflow
5050
id: init
51-
uses: freddydk/AL-Go/Actions/WorkflowInitialize@bcptreport
51+
uses: freddydk/AL-Go/Actions/WorkflowInitialize@nuget
5252
with:
5353
shell: powershell
5454
eventId: "DO0090"
5555

5656
- name: Read settings
57-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
57+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
5858
with:
5959
shell: powershell
6060

6161
- name: Read secrets
6262
id: ReadSecrets
63-
uses: freddydk/AL-Go/Actions/ReadSecrets@bcptreport
63+
uses: freddydk/AL-Go/Actions/ReadSecrets@nuget
6464
with:
6565
shell: powershell
6666
gitHubSecrets: ${{ toJson(secrets) }}
6767
getSecrets: 'TokenForPush'
6868
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
6969

7070
- name: Add existing app
71-
uses: freddydk/AL-Go/Actions/AddExistingApp@bcptreport
71+
uses: freddydk/AL-Go/Actions/AddExistingApp@nuget
7272
with:
7373
shell: powershell
7474
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Finalize the workflow
8181
if: always()
82-
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@bcptreport
82+
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@nuget
8383
with:
8484
shell: powershell
8585
eventId: "DO0090"

.github/workflows/CICD.yaml

+19-19
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
4343
steps:
4444
- name: Dump Workflow Information
45-
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@bcptreport
45+
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@nuget
4646
with:
4747
shell: powershell
4848

@@ -53,14 +53,14 @@ jobs:
5353

5454
- name: Initialize the workflow
5555
id: init
56-
uses: freddydk/AL-Go/Actions/WorkflowInitialize@bcptreport
56+
uses: freddydk/AL-Go/Actions/WorkflowInitialize@nuget
5757
with:
5858
shell: powershell
5959
eventId: "DO0091"
6060

6161
- name: Read settings
6262
id: ReadSettings
63-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
63+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
6464
with:
6565
shell: powershell
6666
get: type
@@ -72,30 +72,30 @@ jobs:
7272
7373
- name: Determine Projects To Build
7474
id: determineProjectsToBuild
75-
uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@bcptreport
75+
uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@nuget
7676
with:
7777
shell: powershell
7878
maxBuildDepth: ${{ env.workflowDepth }}
7979

8080
- name: Determine Delivery Target Secrets
8181
id: DetermineDeliveryTargetSecrets
82-
uses: freddydk/AL-Go/Actions/DetermineDeliveryTargets@bcptreport
82+
uses: freddydk/AL-Go/Actions/DetermineDeliveryTargets@nuget
8383
with:
8484
shell: powershell
8585
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
8686
checkContextSecrets: 'false'
8787

8888
- name: Read secrets
8989
id: ReadSecrets
90-
uses: freddydk/AL-Go/Actions/ReadSecrets@bcptreport
90+
uses: freddydk/AL-Go/Actions/ReadSecrets@nuget
9191
with:
9292
shell: powershell
9393
gitHubSecrets: ${{ toJson(secrets) }}
9494
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
9595

9696
- name: Determine Delivery Targets
9797
id: DetermineDeliveryTargets
98-
uses: freddydk/AL-Go/Actions/DetermineDeliveryTargets@bcptreport
98+
uses: freddydk/AL-Go/Actions/DetermineDeliveryTargets@nuget
9999
env:
100100
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
101101
with:
@@ -105,7 +105,7 @@ jobs:
105105

106106
- name: Determine Deployment Environments
107107
id: DetermineDeploymentEnvironments
108-
uses: freddydk/AL-Go/Actions/DetermineDeploymentEnvironments@bcptreport
108+
uses: freddydk/AL-Go/Actions/DetermineDeploymentEnvironments@nuget
109109
env:
110110
GITHUB_TOKEN: ${{ github.token }}
111111
with:
@@ -121,13 +121,13 @@ jobs:
121121
uses: actions/checkout@v3
122122

123123
- name: Read settings
124-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
124+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
125125
with:
126126
shell: powershell
127127
get: templateUrl
128128

129129
- name: Check for updates to AL-Go system files
130-
uses: freddydk/AL-Go/Actions/CheckForUpdates@bcptreport
130+
uses: freddydk/AL-Go/Actions/CheckForUpdates@nuget
131131
with:
132132
shell: powershell
133133
templateUrl: ${{ env.templateUrl }}
@@ -180,7 +180,7 @@ jobs:
180180
path: '.artifacts'
181181

182182
- name: Read settings
183-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
183+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
184184
with:
185185
shell: powershell
186186

@@ -189,7 +189,7 @@ jobs:
189189
uses: actions/configure-pages@v3
190190

191191
- name: Build Reference Documentation
192-
uses: freddydk/AL-Go/Actions/BuildReferenceDocumentation@bcptreport
192+
uses: freddydk/AL-Go/Actions/BuildReferenceDocumentation@nuget
193193
with:
194194
shell: powershell
195195
artifacts: '.artifacts'
@@ -223,7 +223,7 @@ jobs:
223223
path: '.artifacts'
224224

225225
- name: Read settings
226-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
226+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
227227
with:
228228
shell: powershell
229229

@@ -236,15 +236,15 @@ jobs:
236236
237237
- name: Read secrets
238238
id: ReadSecrets
239-
uses: freddydk/AL-Go/Actions/ReadSecrets@bcptreport
239+
uses: freddydk/AL-Go/Actions/ReadSecrets@nuget
240240
with:
241241
shell: powershell
242242
gitHubSecrets: ${{ toJson(secrets) }}
243243
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext,${{ steps.envName.outputs.envName }}-EnvironmentName,${{ steps.envName.outputs.envName }}_EnvironmentName,EnvironmentName,projects'
244244

245245
- name: Deploy
246246
id: Deploy
247-
uses: freddydk/AL-Go/Actions/Deploy@bcptreport
247+
uses: freddydk/AL-Go/Actions/Deploy@nuget
248248
env:
249249
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
250250
with:
@@ -273,20 +273,20 @@ jobs:
273273
path: '.artifacts'
274274

275275
- name: Read settings
276-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
276+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
277277
with:
278278
shell: powershell
279279

280280
- name: Read secrets
281281
id: ReadSecrets
282-
uses: freddydk/AL-Go/Actions/ReadSecrets@bcptreport
282+
uses: freddydk/AL-Go/Actions/ReadSecrets@nuget
283283
with:
284284
shell: powershell
285285
gitHubSecrets: ${{ toJson(secrets) }}
286286
getSecrets: '${{ matrix.deliveryTarget }}Context'
287287

288288
- name: Deliver
289-
uses: freddydk/AL-Go/Actions/Deliver@bcptreport
289+
uses: freddydk/AL-Go/Actions/Deliver@nuget
290290
env:
291291
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
292292
with:
@@ -306,7 +306,7 @@ jobs:
306306

307307
- name: Finalize the workflow
308308
id: PostProcess
309-
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@bcptreport
309+
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@nuget
310310
with:
311311
shell: powershell
312312
eventId: "DO0091"

.github/workflows/CreateApp.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: [ windows-latest ]
5050
steps:
5151
- name: Dump Workflow Information
52-
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@bcptreport
52+
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@nuget
5353
with:
5454
shell: powershell
5555

@@ -58,28 +58,28 @@ jobs:
5858

5959
- name: Initialize the workflow
6060
id: init
61-
uses: freddydk/AL-Go/Actions/WorkflowInitialize@bcptreport
61+
uses: freddydk/AL-Go/Actions/WorkflowInitialize@nuget
6262
with:
6363
shell: powershell
6464
eventId: "DO0092"
6565

6666
- name: Read settings
67-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
67+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
6868
with:
6969
shell: powershell
7070
get: type
7171

7272
- name: Read secrets
7373
id: ReadSecrets
74-
uses: freddydk/AL-Go/Actions/ReadSecrets@bcptreport
74+
uses: freddydk/AL-Go/Actions/ReadSecrets@nuget
7575
with:
7676
shell: powershell
7777
gitHubSecrets: ${{ toJson(secrets) }}
7878
getSecrets: 'TokenForPush'
7979
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
8080

8181
- name: Creating a new app
82-
uses: freddydk/AL-Go/Actions/CreateApp@bcptreport
82+
uses: freddydk/AL-Go/Actions/CreateApp@nuget
8383
with:
8484
shell: powershell
8585
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -94,7 +94,7 @@ jobs:
9494

9595
- name: Finalize the workflow
9696
if: always()
97-
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@bcptreport
97+
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@nuget
9898
with:
9999
shell: powershell
100100
eventId: "DO0092"

.github/workflows/CreateOnlineDevelopmentEnvironment.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
githubRunnerShell: ${{ steps.ReadSettings.outputs.GitHubRunnerShell }}
4949
steps:
5050
- name: Dump Workflow Information
51-
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@bcptreport
51+
uses: freddydk/AL-Go/Actions/DumpWorkflowInfo@nuget
5252
with:
5353
shell: powershell
5454

@@ -57,20 +57,20 @@ jobs:
5757

5858
- name: Initialize the workflow
5959
id: init
60-
uses: freddydk/AL-Go/Actions/WorkflowInitialize@bcptreport
60+
uses: freddydk/AL-Go/Actions/WorkflowInitialize@nuget
6161
with:
6262
shell: powershell
6363
eventId: "DO0093"
6464

6565
- name: Read settings
6666
id: ReadSettings
67-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
67+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
6868
with:
6969
shell: powershell
7070

7171
- name: Read secrets
7272
id: ReadSecrets
73-
uses: freddydk/AL-Go/Actions/ReadSecrets@bcptreport
73+
uses: freddydk/AL-Go/Actions/ReadSecrets@nuget
7474
with:
7575
shell: powershell
7676
gitHubSecrets: ${{ toJson(secrets) }}
@@ -83,17 +83,17 @@ jobs:
8383
$settings = $env:Settings | ConvertFrom-Json
8484
if ('${{ fromJson(steps.ReadSecrets.outputs.Secrets).adminCenterApiCredentials }}') {
8585
Write-Host "AdminCenterApiCredentials provided in secret $($settings.adminCenterApiCredentialsSecretName)!"
86-
Add-Content -Encoding UTF8 -path $ENV:GITHUB_STEP_SUMMARY -value "Admin Center Api Credentials was provided in a secret called $($settings.adminCenterApiCredentialsSecretName). Using this information for authentication."
86+
Set-Content -Path $ENV:GITHUB_STEP_SUMMARY -value "Admin Center Api Credentials was provided in a secret called $($settings.adminCenterApiCredentialsSecretName). Using this information for authentication."
8787
}
8888
else {
8989
Write-Host "AdminCenterApiCredentials not provided, initiating Device Code flow"
9090
$ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1"
9191
$webClient = New-Object System.Net.WebClient
92-
$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/bcptreport/Actions/AL-Go-Helper.ps1', $ALGoHelperPath)
92+
$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/nuget/Actions/AL-Go-Helper.ps1', $ALGoHelperPath)
9393
. $ALGoHelperPath
9494
DownloadAndImportBcContainerHelper
9595
$authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0))
96-
Add-Content -Encoding UTF8 -path $ENV:GITHUB_STEP_SUMMARY -value "AL-Go needs access to the Business Central Admin Center Api and could not locate a secret called $($settings.adminCenterApiCredentialsSecretName) (https://aka.ms/ALGoSettings#AdminCenterApiCredentialsSecretName)`n`n$($authContext.message)"
96+
Set-Content -Path $ENV:GITHUB_STEP_SUMMARY -value "AL-Go needs access to the Business Central Admin Center Api and could not locate a secret called $($settings.adminCenterApiCredentialsSecretName) (https://aka.ms/ALGoSettings#AdminCenterApiCredentialsSecretName)`n`n$($authContext.message)"
9797
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "deviceCode=$($authContext.deviceCode)"
9898
}
9999
@@ -111,13 +111,13 @@ jobs:
111111
uses: actions/checkout@v3
112112

113113
- name: Read settings
114-
uses: freddydk/AL-Go/Actions/ReadSettings@bcptreport
114+
uses: freddydk/AL-Go/Actions/ReadSettings@nuget
115115
with:
116116
shell: powershell
117117

118118
- name: Read secrets
119119
id: ReadSecrets
120-
uses: freddydk/AL-Go/Actions/ReadSecrets@bcptreport
120+
uses: freddydk/AL-Go/Actions/ReadSecrets@nuget
121121
with:
122122
shell: powershell
123123
gitHubSecrets: ${{ toJson(secrets) }}
@@ -136,7 +136,7 @@ jobs:
136136
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -value "adminCenterApiCredentials=$adminCenterApiCredentials"
137137
138138
- name: Create Development Environment
139-
uses: freddydk/AL-Go/Actions/CreateDevelopmentEnvironment@bcptreport
139+
uses: freddydk/AL-Go/Actions/CreateDevelopmentEnvironment@nuget
140140
with:
141141
shell: powershell
142142
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -149,7 +149,7 @@ jobs:
149149

150150
- name: Finalize the workflow
151151
if: always()
152-
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@bcptreport
152+
uses: freddydk/AL-Go/Actions/WorkflowPostProcess@nuget
153153
with:
154154
shell: powershell
155155
eventId: "DO0093"

0 commit comments

Comments
 (0)