Skip to content

Commit

Permalink
rename action + script
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Nov 23, 2023
1 parent e6c15e0 commit df8cd20
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
)

. (Join-Path -Path $PSScriptRoot -ChildPath "..\AL-Go-Helper.ps1" -Resolve)
. (Join-Path -Path $PSScriptRoot -ChildPath "BuildALDoc.HelperFunctions.ps1" -Resolve)
. (Join-Path -Path $PSScriptRoot -ChildPath "BuildReferenceDocumentation.HelperFunctions.ps1" -Resolve)
DownloadAndImportBcContainerHelper

$settings = $env:Settings | ConvertFrom-Json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BuildALDoc
# BuildReferenceDocumentation
Build documentation using [ALDoc](https://go.microsoft.com/fwlink/?linkid=2247728) and [DocFx](https://dotnet.github.io/docfx)

## INPUT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ runs:
steps:
- name: run
shell: ${{ inputs.shell }}
id: BuildALDoc
id: BuildReferenceDocumentation
env:
_token: ${{ inputs.token }}
_artifacts: ${{ inputs.artifacts }}
run: |
$errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
try {
${{ github.action_path }}/BuildALDoc.ps1 -token $ENV:_token -artifacts $ENV:_artifacts
${{ github.action_path }}/BuildReferenceDocumentation.ps1 -token $ENV:_token -artifacts $ENV:_artifacts
}
catch {
Write-Host "::ERROR::Unexpected error when running action. Error Message: $($_.Exception.Message.Replace("`r",'').Replace("`n",' ')), StackTrace: $($_.ScriptStackTrace.Replace("`r",'').Replace("`n",' <- '))";
Expand Down
2 changes: 1 addition & 1 deletion Templates/AppSource App/.github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
uses: actions/configure-pages@v3

- name: Build Reference Documentation
uses: microsoft/AL-Go-Actions/BuildALDoc@main
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@main
with:
shell: powershell
artifacts: '.artifacts'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: actions/configure-pages@v3

- name: Build Reference Documentation
uses: microsoft/AL-Go-Actions/BuildALDoc@main
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@main
with:
shell: powershell
artifacts: 'latest'
Expand Down
2 changes: 1 addition & 1 deletion Templates/Per Tenant Extension/.github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
uses: actions/configure-pages@v3

- name: Build Reference Documentation
uses: microsoft/AL-Go-Actions/BuildALDoc@main
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@main
with:
shell: powershell
artifacts: '.artifacts'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: actions/configure-pages@v3

- name: Build Reference Documentation
uses: microsoft/AL-Go-Actions/BuildALDoc@main
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@main
with:
shell: powershell
artifacts: 'latest'
Expand Down

0 comments on commit df8cd20

Please sign in to comment.