Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Nov 22, 2024
1 parent 0613613 commit 1d668d8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Actions/DetermineBuildProject/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Determine whether to build project
| Name | Required | Description | Default value |
| :-- | :-: | :-- | :-- |
| shell | | The shell (powershell or pwsh) in which the PowerShell script in this action should run | powershell |
| token | | The GitHub token running the action | github.token |
| skippedProjectsJson | Yes | Compressed JSON string containing the list of projects that should be skipped | |
| project | Yes | Name of the project to build | |
| baselineWorkflowRunId | Yes | Id of the baseline workflow run, from which to download artifacts if build is skipped | |
Expand Down
2 changes: 1 addition & 1 deletion Actions/DetermineBuildProject/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ runs:
_project: ${{ inputs.project }}
_baselineWorkflowRunId: ${{ inputs.baselineWorkflowRunId }}
run: |
${{ github.action_path }}/../Invoke-AlGoAction.ps1 -ActionName "CalculateArtifactNames" -Action {
${{ github.action_path }}/../Invoke-AlGoAction.ps1 -ActionName "DetermineBuildProject" -Action {
${{ github.action_path }}/DetermineBuildProject.ps1 -token $env:_token -skippedProjectsJson $env:_skippedProjectsJson -project $env:_project -baselineWorkflowRunId $env:_baselineWorkflowRunId
}
branding:
Expand Down
2 changes: 2 additions & 0 deletions Actions/DetermineProjectsToBuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ none
| :-- | :-: | :-- | :-- |
| shell | | The shell (powershell or pwsh) in which the PowerShell script in this action should run | powershell |
| maxBuildDepth | | Specifies the maximum build depth suppored by the workflow running the action | 0 |
| publishSkippedProjectArtifacts | Specifies whether to publish artifacts for skipped projects | false |

## OUTPUT

Expand All @@ -28,6 +29,7 @@ none
| Name | Description |
| :-- | :-- |
| ProjectsJson | An array of AL-Go projects in compressed JSON format |
| SkippedProjectsJson | An array of Skipped AL-Go projects in compressed JSON format|
| ProjectDependenciesJson | An object that holds the project dependencies in compressed JSON format |
| BuildOrderJson | An array of objects that determine that build order, including build dimensions |
| BuildAllProjects | A flag that indicates whether to build all projects or only the modified ones |
Expand Down
2 changes: 1 addition & 1 deletion Actions/Github-Helper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ function GetDependencies {
$project = $project.Replace('\','_').Replace('/','_') # sanitize project name

$downloadName = Join-Path $saveToPath "thisbuild-$project-$($mask)"

if (Test-Path $downloadName -PathType Container) {
$folder = Get-Item $downloadName
Get-ChildItem -Path $folder | ForEach-Object {
Write-Host $_.FullName
if ($mask -like '*TestApps') {
$downloadedList += @("($($_.FullName))")
}
Expand Down
2 changes: 1 addition & 1 deletion RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Support for partial builds

AL-Go for GitHub now supports partial builds.
AL-Go for GitHub now supports incremental builds.

## v6.1

Expand Down

0 comments on commit 1d668d8

Please sign in to comment.