Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize useCompilerFolder when creating dev env #831

Merged
merged 3 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Actions/AL-Go-Helper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,8 @@ function CreateDevEnv {
"enableCodeCop",
"enableAppSourceCop",
"enablePerTenantExtensionCop",
"enableUICop" | ForEach-Object {
"enableUICop",
"useCompilerFolder" | ForEach-Object {
if ($settings."$_") { $runAlPipelineParams += @{ "$_" = $true } }
}

Expand Down
10 changes: 3 additions & 7 deletions Actions/RunPipeline/RunPipeline.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,7 @@ try {
}

$analyzeRepoParams = @{}
# If UseCompilerFolder is set, set the parameter on Run-AlPipeline
if ($settings.useCompilerFolder) {
$runAlPipelineParams += @{
"useCompilerFolder" = $true
}
}

if ($artifact) {
# Avoid checking the artifact setting in AnalyzeRepo if we have an artifactUrl
$settings.artifact = $artifact
Expand Down Expand Up @@ -340,7 +335,8 @@ try {
"enableCodeCop",
"enableAppSourceCop",
"enablePerTenantExtensionCop",
"enableUICop" | ForEach-Object {
"enableUICop",
"useCompilerFolder" | ForEach-Object {
if ($settings."$_") { $runAlPipelineParams += @{ "$_" = $true } }
}

Expand Down
1 change: 1 addition & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Note that when using the preview version of AL-Go for GitHub, we recommend you U
- Issue 782 Exclude '.altestrunner/' from template .gitignore
- Issue 823 Dependencies from prior build jobs are not included when using useProjectDependencies
- App artifacts for version 'latest' are now fetched from the latest CICD run that completed and successfully built all the projects for the corresponding branch.
- Issue 824 Utilize `useCompilerFolder` setting when creating an development environment for an AL-Go project.

## v4.0

Expand Down
Loading