From 988c9d3887eff451f920236f0f90c475ce6306a8 Mon Sep 17 00:00:00 2001 From: freddydk Date: Thu, 28 Sep 2023 19:03:49 +0000 Subject: [PATCH] Updated AL-Go System Files --- .github/AL-Go-Settings.json | 2 +- .../workflows/AddExistingAppOrTestApp.yaml | 10 +++--- .github/workflows/CICD.yaml | 34 +++++++++---------- .github/workflows/CreateApp.yaml | 10 +++--- .../CreateOnlineDevelopmentEnvironment.yaml | 16 ++++----- .../workflows/CreatePerformanceTestApp.yaml | 10 +++--- .github/workflows/CreateRelease.yaml | 26 +++++++------- .github/workflows/CreateTestApp.yaml | 10 +++--- .github/workflows/Current.yaml | 10 +++--- .github/workflows/IncrementVersionNumber.yaml | 10 +++--- .github/workflows/NextMajor.yaml | 10 +++--- .github/workflows/NextMinor.yaml | 10 +++--- .github/workflows/PublishToEnvironment.yaml | 24 ++++++------- .github/workflows/PullRequestHandler.yaml | 12 +++---- .../workflows/UpdateGitHubGoSystemFiles.yaml | 12 +++---- .github/workflows/_BuildALGoProject.yaml | 20 +++++------ App2.dk/.AL-Go/cloudDevEnv.ps1 | 4 +-- App2.dk/.AL-Go/localDevEnv.ps1 | 8 ++--- App2.it/.AL-Go/cloudDevEnv.ps1 | 4 +-- App2.it/.AL-Go/localDevEnv.ps1 | 8 ++--- App2/.AL-Go/cloudDevEnv.ps1 | 4 +-- App2/.AL-Go/localDevEnv.ps1 | 8 ++--- 22 files changed, 127 insertions(+), 135 deletions(-) diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index ac862ab..c422933 100644 --- a/.github/AL-Go-Settings.json +++ b/.github/AL-Go-Settings.json @@ -1,6 +1,6 @@ { "type": "PTE", - "templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview", + "templateUrl": "https://github.com/freddydk/AL-Go@main", "runs-on": "bc-build", "BcContainerHelperVersion": "preview", "GenerateDependencyArtifact": true, diff --git a/.github/workflows/AddExistingAppOrTestApp.yaml b/.github/workflows/AddExistingAppOrTestApp.yaml index 217d2a4..f61bc00 100644 --- a/.github/workflows/AddExistingAppOrTestApp.yaml +++ b/.github/workflows/AddExistingAppOrTestApp.yaml @@ -41,19 +41,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0090" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -61,7 +61,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Add existing app - uses: microsoft/AL-Go/Actions/AddExistingApp@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/AddExistingApp@main with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -72,7 +72,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0090" diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index 1f134b5..1159473 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -45,14 +45,14 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0091" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell get: type @@ -64,14 +64,14 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@main with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} - name: Determine Delivery Target Secrets id: DetermineDeliveryTargetSecrets - uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineDeliveryTargets@main with: shell: powershell projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' @@ -79,7 +79,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -87,7 +87,7 @@ jobs: - name: Determine Delivery Targets id: DetermineDeliveryTargets - uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineDeliveryTargets@main env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -97,7 +97,7 @@ jobs: - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineDeploymentEnvironments@main env: GITHUB_TOKEN: ${{ github.token }} with: @@ -113,13 +113,13 @@ jobs: uses: actions/checkout@v3 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell get: templateUrl - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go/Actions/CheckForUpdates@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CheckForUpdates@main with: shell: powershell parentTelemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} @@ -143,7 +143,7 @@ jobs: projectName: ${{ matrix.projectName }} buildMode: ${{ matrix.buildMode }} projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }} - secrets: 'licenseFileUrl,insiderSasToken,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' + secrets: 'licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' publishThisBuildArtifacts: ${{ needs.Initialization.outputs.workflowDepth > 1 }} publishArtifacts: ${{ github.ref_name == 'main' || startswith(github.ref_name, 'release/') || needs.Initialization.outputs.deliveryTargetsJson != '[]' || needs.Initialization.outputs.environmentCount > 0 }} signArtifacts: true @@ -167,7 +167,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell @@ -180,14 +180,14 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext,${{ steps.envName.outputs.envName }}-EnvironmentName,${{ steps.envName.outputs.envName }}_EnvironmentName,EnvironmentName,projects' - name: Deploy - uses: microsoft/AL-Go/Actions/Deploy@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/Deploy@main env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -216,20 +216,20 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ matrix.deliveryTarget }}Context' - name: Deliver - uses: microsoft/AL-Go/Actions/Deliver@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/Deliver@main env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -249,7 +249,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0091" diff --git a/.github/workflows/CreateApp.yaml b/.github/workflows/CreateApp.yaml index 6e15024..9f11226 100644 --- a/.github/workflows/CreateApp.yaml +++ b/.github/workflows/CreateApp.yaml @@ -51,20 +51,20 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0092" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell get: type - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -72,7 +72,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new app - uses: microsoft/AL-Go/Actions/CreateApp@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CreateApp@main with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -87,7 +87,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0092" diff --git a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml index cd41c61..8c56a3c 100644 --- a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml +++ b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml @@ -50,20 +50,20 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0093" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -82,7 +82,7 @@ jobs: Write-Host "AdminCenterApiCredentials not provided, initiating Device Code flow" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" $webClient = New-Object System.Net.WebClient - $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -104,13 +104,13 @@ jobs: uses: actions/checkout@v3 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -129,7 +129,7 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -value "adminCenterApiCredentials=$adminCenterApiCredentials" - name: Create Development Environment - uses: microsoft/AL-Go/Actions/CreateDevelopmentEnvironment@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CreateDevelopmentEnvironment@main with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -142,7 +142,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0093" diff --git a/.github/workflows/CreatePerformanceTestApp.yaml b/.github/workflows/CreatePerformanceTestApp.yaml index aed59d0..04bcdc4 100644 --- a/.github/workflows/CreatePerformanceTestApp.yaml +++ b/.github/workflows/CreatePerformanceTestApp.yaml @@ -57,19 +57,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0102" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -77,7 +77,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new test app - uses: microsoft/AL-Go/Actions/CreateApp@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CreateApp@main with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -93,7 +93,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0102" diff --git a/.github/workflows/CreateRelease.yaml b/.github/workflows/CreateRelease.yaml index 625ba4b..d4aab4d 100644 --- a/.github/workflows/CreateRelease.yaml +++ b/.github/workflows/CreateRelease.yaml @@ -69,26 +69,26 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0094" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell get: templateUrl,repoName - name: Determine Projects id: determineProjects - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@main with: shell: powershell - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go/Actions/CheckForUpdates@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CheckForUpdates@main with: shell: powershell parentTelemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} @@ -173,7 +173,7 @@ jobs: - name: Prepare release notes id: createreleasenotes - uses: microsoft/AL-Go/Actions/CreateReleaseNotes@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CreateReleaseNotes@main with: shell: powershell parentTelemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} @@ -216,13 +216,13 @@ jobs: uses: actions/checkout@v3 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -259,7 +259,7 @@ jobs: }); - name: Deliver to NuGet - uses: microsoft/AL-Go/Actions/Deliver@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/Deliver@main if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).nuGetContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -272,7 +272,7 @@ jobs: atypes: 'Apps,TestApps' - name: Deliver to Storage - uses: microsoft/AL-Go/Actions/Deliver@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/Deliver@main if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).storageContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -309,13 +309,13 @@ jobs: needs: [ CreateRelease, UploadArtifacts ] steps: - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -323,7 +323,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Update Version Number - uses: microsoft/AL-Go/Actions/IncrementVersionNumber@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/IncrementVersionNumber@main with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -341,7 +341,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0094" diff --git a/.github/workflows/CreateTestApp.yaml b/.github/workflows/CreateTestApp.yaml index 2ab63cd..95074af 100644 --- a/.github/workflows/CreateTestApp.yaml +++ b/.github/workflows/CreateTestApp.yaml @@ -53,19 +53,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0095" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -73,7 +73,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new test app - uses: microsoft/AL-Go/Actions/CreateApp@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CreateApp@main with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -88,7 +88,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0095" diff --git a/.github/workflows/Current.yaml b/.github/workflows/Current.yaml index 7b6f2d5..bffa1ba 100644 --- a/.github/workflows/Current.yaml +++ b/.github/workflows/Current.yaml @@ -34,14 +34,14 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0101" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell @@ -52,7 +52,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@main with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -75,7 +75,7 @@ jobs: projectName: ${{ matrix.projectName }} buildMode: ${{ matrix.buildMode }} projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }} - secrets: 'licenseFileUrl,insiderSasToken,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' + secrets: 'licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' publishThisBuildArtifacts: ${{ needs.Initialization.outputs.workflowDepth > 1 }} artifactsNameSuffix: 'Current' @@ -89,7 +89,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0101" diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index dd72f5b..0cc4f3b 100644 --- a/.github/workflows/IncrementVersionNumber.yaml +++ b/.github/workflows/IncrementVersionNumber.yaml @@ -41,19 +41,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0096" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -61,7 +61,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Increment Version Number - uses: microsoft/AL-Go/Actions/IncrementVersionNumber@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/IncrementVersionNumber@main with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -72,7 +72,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0096" diff --git a/.github/workflows/NextMajor.yaml b/.github/workflows/NextMajor.yaml index 9acf1af..9ccd796 100644 --- a/.github/workflows/NextMajor.yaml +++ b/.github/workflows/NextMajor.yaml @@ -34,14 +34,14 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0099" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell @@ -52,7 +52,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@main with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -75,7 +75,7 @@ jobs: projectName: ${{ matrix.projectName }} buildMode: ${{ matrix.buildMode }} projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }} - secrets: 'licenseFileUrl,insiderSasToken,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' + secrets: 'licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' publishThisBuildArtifacts: ${{ needs.Initialization.outputs.workflowDepth > 1 }} artifactsNameSuffix: 'NextMajor' @@ -89,7 +89,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0099" diff --git a/.github/workflows/NextMinor.yaml b/.github/workflows/NextMinor.yaml index 5b0895d..8d179c1 100644 --- a/.github/workflows/NextMinor.yaml +++ b/.github/workflows/NextMinor.yaml @@ -34,14 +34,14 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0100" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell @@ -52,7 +52,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@main with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -75,7 +75,7 @@ jobs: projectName: ${{ matrix.projectName }} buildMode: ${{ matrix.buildMode }} projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }} - secrets: 'licenseFileUrl,insiderSasToken,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' + secrets: 'licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' publishThisBuildArtifacts: ${{ needs.Initialization.outputs.workflowDepth > 1 }} artifactsNameSuffix: 'NextMinor' @@ -89,7 +89,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0100" diff --git a/.github/workflows/PublishToEnvironment.yaml b/.github/workflows/PublishToEnvironment.yaml index e8ef488..21f9a8c 100644 --- a/.github/workflows/PublishToEnvironment.yaml +++ b/.github/workflows/PublishToEnvironment.yaml @@ -38,20 +38,20 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0097" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineDeploymentEnvironments@main env: GITHUB_TOKEN: ${{ github.token }} with: @@ -61,7 +61,7 @@ jobs: - name: EnvName id: envName - if: steps.DetermineDeploymentEnvironments.outputs.EnvironmentCount == 1 + if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 run: | $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0 $envName = '${{ fromJson(steps.DetermineDeploymentEnvironments.outputs.environmentsMatrixJson).matrix.include[0].environment }}'.split(' ')[0] @@ -69,8 +69,8 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 - if: steps.DetermineDeploymentEnvironments.outputs.EnvironmentCount == 1 + uses: freddydk/AL-Go/Actions/ReadSecrets@main + if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -78,7 +78,7 @@ jobs: - name: Authenticate id: Authenticate - if: steps.DetermineDeploymentEnvironments.outputs.EnvironmentCount == 1 + if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 run: | $envName = '${{ steps.envName.outputs.envName }}' $secretName = '' @@ -101,7 +101,7 @@ jobs: Write-Host "No AuthContext provided for $envName, initiating Device Code flow" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" $webClient = New-Object System.Net.WebClient - $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -131,20 +131,20 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext,${{ steps.envName.outputs.envName }}-EnvironmentName,${{ steps.envName.outputs.envName }}_EnvironmentName,EnvironmentName,projects' - name: Deploy - uses: microsoft/AL-Go/Actions/Deploy@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/Deploy@main env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -164,7 +164,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0097" diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index 9ba5ac0..e240718 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -29,7 +29,7 @@ jobs: if: (github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name) && (github.event_name != 'pull_request') runs-on: [ windows-latest ] steps: - - uses: microsoft/AL-Go/Actions/VerifyPRChanges@eabe480ba72260c6805e575f6bd03ac129367160 + - uses: freddydk/AL-Go/Actions/VerifyPRChanges@main Initialization: needs: [ PregateCheck ] @@ -52,14 +52,14 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0104" - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell @@ -70,7 +70,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineProjectsToBuild@main with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -94,7 +94,7 @@ jobs: projectName: ${{ matrix.projectName }} buildMode: ${{ matrix.buildMode }} projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }} - secrets: 'licenseFileUrl,insiderSasToken,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' + secrets: 'licenseFileUrl,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString' publishThisBuildArtifacts: ${{ needs.Initialization.outputs.workflowDepth > 1 }} StatusCheck: @@ -105,7 +105,7 @@ jobs: steps: - name: Pull Request Status Check id: PullRequestStatusCheck - uses: microsoft/AL-Go/Actions/PullRequestStatusCheck@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/PullRequestStatusCheck@main env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index 0b56772..72f14a9 100644 --- a/.github/workflows/UpdateGitHubGoSystemFiles.yaml +++ b/.github/workflows/UpdateGitHubGoSystemFiles.yaml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: templateUrl: - description: Template Repository URL (current is https://github.com/microsoft/AL-Go-PTE@preview) + description: Template Repository URL (current is https://github.com/freddydk/AL-Go@main) required: false default: '' directCommit: @@ -32,20 +32,20 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowInitialize@main with: shell: powershell eventId: "DO0098" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: powershell get: templateUrl - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -77,7 +77,7 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_ENV -Value "DirectCommit=$directCommit" - name: Update AL-Go system files - uses: microsoft/AL-Go/Actions/CheckForUpdates@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CheckForUpdates@main with: shell: powershell parentTelemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} @@ -88,7 +88,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/WorkflowPostProcess@main with: shell: powershell eventId: "DO0098" diff --git a/.github/workflows/_BuildALGoProject.yaml b/.github/workflows/_BuildALGoProject.yaml index 8e551de..bc4f352 100644 --- a/.github/workflows/_BuildALGoProject.yaml +++ b/.github/workflows/_BuildALGoProject.yaml @@ -87,7 +87,7 @@ jobs: lfs: true - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSettings@main with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -96,17 +96,15 @@ jobs: - name: Read secrets id: ReadSecrets if: github.event_name != 'pull_request' - uses: microsoft/AL-Go/Actions/ReadSecrets@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/ReadSecrets@main with: shell: ${{ inputs.shell }} gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ inputs.secrets }},appDependencyProbingPathsSecrets' - name: Determine ArtifactUrl - uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DetermineArtifactUrl@main id: determineArtifactUrl - env: - Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: shell: ${{ inputs.shell }} parentTelemetryScopeJson: ${{ inputs.parentTelemetryScopeJson }} @@ -121,7 +119,7 @@ jobs: - name: Download Project Dependencies id: DownloadProjectDependencies - uses: microsoft/AL-Go/Actions/DownloadProjectDependencies@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/DownloadProjectDependencies@main env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -132,7 +130,7 @@ jobs: - name: Run pipeline id: RunPipeline - uses: microsoft/AL-Go/Actions/RunPipeline@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/RunPipeline@main env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' BuildMode: ${{ inputs.buildMode }} @@ -148,7 +146,7 @@ jobs: - name: Sign if: inputs.signArtifacts && env.doNotSignApps == 'False' && env.keyVaultCodesignCertificateName != '' id: sign - uses: microsoft/AL-Go/Actions/Sign@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/Sign@main with: shell: ${{ needs.Initialization.outputs.githubRunnerShell }} azureCredentialsJson: ${{ secrets.AZURE_CREDENTIALS }} @@ -157,7 +155,7 @@ jobs: - name: Calculate Artifact names id: calculateArtifactsNames - uses: microsoft/AL-Go/Actions/CalculateArtifactNames@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/CalculateArtifactNames@main if: success() || failure() with: shell: ${{ inputs.shell }} @@ -243,7 +241,7 @@ jobs: - name: Analyze Test Results id: analyzeTestResults if: success() || failure() - uses: microsoft/AL-Go/Actions/AnalyzeTests@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/AnalyzeTests@main with: shell: ${{ inputs.shell }} parentTelemetryScopeJson: ${{ inputs.parentTelemetryScopeJson }} @@ -251,7 +249,7 @@ jobs: - name: Cleanup if: always() - uses: microsoft/AL-Go/Actions/PipelineCleanup@eabe480ba72260c6805e575f6bd03ac129367160 + uses: freddydk/AL-Go/Actions/PipelineCleanup@main with: shell: ${{ inputs.shell }} parentTelemetryScopeJson: ${{ inputs.parentTelemetryScopeJson }} diff --git a/App2.dk/.AL-Go/cloudDevEnv.ps1 b/App2.dk/.AL-Go/cloudDevEnv.ps1 index 08a9255..66bfeda 100644 --- a/App2.dk/.AL-Go/cloudDevEnv.ps1 +++ b/App2.dk/.AL-Go/cloudDevEnv.ps1 @@ -17,10 +17,10 @@ $webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumen $webClient.Encoding = [System.Text.Encoding]::UTF8 Write-Host "Downloading GitHub Helper module" $GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/Github-Helper.psm1', $GitHubHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/Github-Helper.psm1', $GitHubHelperPath) Write-Host "Downloading AL-Go Helper script" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) Import-Module $GitHubHelperPath . $ALGoHelperPath -local diff --git a/App2.dk/.AL-Go/localDevEnv.ps1 b/App2.dk/.AL-Go/localDevEnv.ps1 index ed8527e..ef11a7c 100644 --- a/App2.dk/.AL-Go/localDevEnv.ps1 +++ b/App2.dk/.AL-Go/localDevEnv.ps1 @@ -8,7 +8,6 @@ Param( [string] $auth = "", [pscredential] $credential = $null, [string] $licenseFileUrl = "", - [string] $insiderSasToken = "", [switch] $fromVSCode ) @@ -20,10 +19,10 @@ $webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumen $webClient.Encoding = [System.Text.Encoding]::UTF8 Write-Host "Downloading GitHub Helper module" $GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/Github-Helper.psm1', $GitHubHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/Github-Helper.psm1', $GitHubHelperPath) Write-Host "Downloading AL-Go Helper script" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) Import-Module $GitHubHelperPath . $ALGoHelperPath -local @@ -130,8 +129,7 @@ CreateDevEnv ` -project $project ` -auth $auth ` -credential $credential ` - -licenseFileUrl $licenseFileUrl ` - -insiderSasToken $insiderSasToken + -licenseFileUrl $licenseFileUrl } catch { Write-Host -ForegroundColor Red "Error: $($_.Exception.Message)`nStacktrace: $($_.scriptStackTrace)" diff --git a/App2.it/.AL-Go/cloudDevEnv.ps1 b/App2.it/.AL-Go/cloudDevEnv.ps1 index 08a9255..66bfeda 100644 --- a/App2.it/.AL-Go/cloudDevEnv.ps1 +++ b/App2.it/.AL-Go/cloudDevEnv.ps1 @@ -17,10 +17,10 @@ $webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumen $webClient.Encoding = [System.Text.Encoding]::UTF8 Write-Host "Downloading GitHub Helper module" $GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/Github-Helper.psm1', $GitHubHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/Github-Helper.psm1', $GitHubHelperPath) Write-Host "Downloading AL-Go Helper script" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) Import-Module $GitHubHelperPath . $ALGoHelperPath -local diff --git a/App2.it/.AL-Go/localDevEnv.ps1 b/App2.it/.AL-Go/localDevEnv.ps1 index ed8527e..ef11a7c 100644 --- a/App2.it/.AL-Go/localDevEnv.ps1 +++ b/App2.it/.AL-Go/localDevEnv.ps1 @@ -8,7 +8,6 @@ Param( [string] $auth = "", [pscredential] $credential = $null, [string] $licenseFileUrl = "", - [string] $insiderSasToken = "", [switch] $fromVSCode ) @@ -20,10 +19,10 @@ $webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumen $webClient.Encoding = [System.Text.Encoding]::UTF8 Write-Host "Downloading GitHub Helper module" $GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/Github-Helper.psm1', $GitHubHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/Github-Helper.psm1', $GitHubHelperPath) Write-Host "Downloading AL-Go Helper script" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) Import-Module $GitHubHelperPath . $ALGoHelperPath -local @@ -130,8 +129,7 @@ CreateDevEnv ` -project $project ` -auth $auth ` -credential $credential ` - -licenseFileUrl $licenseFileUrl ` - -insiderSasToken $insiderSasToken + -licenseFileUrl $licenseFileUrl } catch { Write-Host -ForegroundColor Red "Error: $($_.Exception.Message)`nStacktrace: $($_.scriptStackTrace)" diff --git a/App2/.AL-Go/cloudDevEnv.ps1 b/App2/.AL-Go/cloudDevEnv.ps1 index 08a9255..66bfeda 100644 --- a/App2/.AL-Go/cloudDevEnv.ps1 +++ b/App2/.AL-Go/cloudDevEnv.ps1 @@ -17,10 +17,10 @@ $webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumen $webClient.Encoding = [System.Text.Encoding]::UTF8 Write-Host "Downloading GitHub Helper module" $GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/Github-Helper.psm1', $GitHubHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/Github-Helper.psm1', $GitHubHelperPath) Write-Host "Downloading AL-Go Helper script" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) Import-Module $GitHubHelperPath . $ALGoHelperPath -local diff --git a/App2/.AL-Go/localDevEnv.ps1 b/App2/.AL-Go/localDevEnv.ps1 index ed8527e..ef11a7c 100644 --- a/App2/.AL-Go/localDevEnv.ps1 +++ b/App2/.AL-Go/localDevEnv.ps1 @@ -8,7 +8,6 @@ Param( [string] $auth = "", [pscredential] $credential = $null, [string] $licenseFileUrl = "", - [string] $insiderSasToken = "", [switch] $fromVSCode ) @@ -20,10 +19,10 @@ $webClient.CachePolicy = New-Object System.Net.Cache.RequestCachePolicy -argumen $webClient.Encoding = [System.Text.Encoding]::UTF8 Write-Host "Downloading GitHub Helper module" $GitHubHelperPath = "$([System.IO.Path]::GetTempFileName()).psm1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/Github-Helper.psm1', $GitHubHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/Github-Helper.psm1', $GitHubHelperPath) Write-Host "Downloading AL-Go Helper script" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" -$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/eabe480ba72260c6805e575f6bd03ac129367160/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) +$webClient.DownloadFile('https://raw.githubusercontent.com/freddydk/AL-Go/main/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) Import-Module $GitHubHelperPath . $ALGoHelperPath -local @@ -130,8 +129,7 @@ CreateDevEnv ` -project $project ` -auth $auth ` -credential $credential ` - -licenseFileUrl $licenseFileUrl ` - -insiderSasToken $insiderSasToken + -licenseFileUrl $licenseFileUrl } catch { Write-Host -ForegroundColor Red "Error: $($_.Exception.Message)`nStacktrace: $($_.scriptStackTrace)"