Skip to content

Commit

Permalink
remove buildPP from appsource template
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Nov 22, 2024
1 parent 1d668d8 commit c565875
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
3 changes: 2 additions & 1 deletion Actions/RunPipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Run pipeline in AL-Go repository
| buildMode | | Specifies a mode to use for the build steps | Default |
| installAppsJson | | A JSON-formatted list of apps to install | \[\] |
| installTestAppsJson | | A JSON-formatted list of test apps to install | \[\] |

| baselineWorkflowRunId | RunId of the baseline workflow run | |
| baselineWorkflowSHA | SHA of the baseline workflow run | |
## OUTPUT

## ENV variables
Expand Down
24 changes: 5 additions & 19 deletions Templates/AppSource App/.github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,20 +176,6 @@ jobs:
signArtifacts: true
useArtifactCache: true

BuildPP:
needs: [ Initialization ]
if: (!failure()) && (!cancelled()) && needs.Initialization.outputs.powerPlatformSolutionFolder != ''
name: Build PowerPlatform Solution
uses: ./.github/workflows/_BuildPowerPlatformSolution.yaml
secrets: inherit
with:
shell: ${{ needs.Initialization.outputs.githubRunnerShell }}
runsOn: ${{ needs.Initialization.outputs.githubRunner }}
parentTelemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }}
project: ${{ needs.Initialization.outputs.powerPlatformSolutionFolder }}
projectName: ${{ needs.Initialization.outputs.powerPlatformSolutionFolder }}
publishArtifacts: ${{ github.ref_name == 'main' || startswith(github.ref_name, 'release/') || startswith(github.ref_name, 'releases/') || needs.Initialization.outputs.deliveryTargetsJson != '[]' || needs.Initialization.outputs.environmentCount > 0 }}

DeployALDoc:
needs: [ Initialization, Build ]
if: (!cancelled()) && needs.Build.result == 'Success' && needs.Initialization.outputs.generateALDocArtifact == 1 && github.ref_name == 'main'
Expand Down Expand Up @@ -238,8 +224,8 @@ jobs:
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

Deploy:
needs: [ Initialization, Build, BuildPP ]
if: (!cancelled()) && (needs.Build.result == 'success' || needs.Build.result == 'skipped') && (needs.BuildPP.result == 'success' || needs.BuildPP.result == 'skipped') && needs.Initialization.outputs.environmentCount > 0
needs: [ Initialization, Build ]
if: (!cancelled()) && (needs.Build.result == 'success' || needs.Build.result == 'skipped') && needs.Initialization.outputs.environmentCount > 0
strategy: ${{ fromJson(needs.Initialization.outputs.environmentsMatrixJson) }}
runs-on: ${{ fromJson(matrix.os) }}
name: Deploy to ${{ matrix.environment }}
Expand Down Expand Up @@ -303,8 +289,8 @@ jobs:
deploymentEnvironmentsJson: ${{ needs.Initialization.outputs.deploymentEnvironmentsJson }}

Deliver:
needs: [ Initialization, Build, BuildPP ]
if: (!cancelled()) && (needs.Build.result == 'success' || needs.Build.result == 'skipped') && (needs.BuildPP.result == 'success' || needs.BuildPP.result == 'skipped') && needs.Initialization.outputs.deliveryTargetsJson != '[]'
needs: [ Initialization, Build ]
if: (!cancelled()) && (needs.Build.result == 'success' || needs.Build.result == 'skipped') && needs.Initialization.outputs.deliveryTargetsJson != '[]'
strategy:
matrix:
deliveryTarget: ${{ fromJson(needs.Initialization.outputs.deliveryTargetsJson) }}
Expand Down Expand Up @@ -345,7 +331,7 @@ jobs:
artifacts: '.artifacts'

PostProcess:
needs: [ Initialization, Build, BuildPP, Deploy, Deliver, DeployALDoc ]
needs: [ Initialization, Build, Deploy, Deliver, DeployALDoc ]
if: (!cancelled())
runs-on: [ windows-latest ]
steps:
Expand Down

0 comments on commit c565875

Please sign in to comment.