Skip to content
Open
Show file tree
Hide file tree
Changes from 9 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
1 change: 1 addition & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### Issues
Comment thread
mazhelez marked this conversation as resolved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A new version of AL-Go (v9.0) has been released.

Please move your release notes changes to above the ## v9.0 section in the RELEASENOTES.md file.

This ensures your changes are included in the next release rather than being listed under an already-released version.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to above the v9.0 section in commit 6f63340.

- Issue 1915 CICD fails on releases/26.x branch - '26.x' cannot be recognized as a semantic version string
- Issue 2126 Deliver and Deploy actions now skip execution when no app artifacts are found, preventing errors on initial commits

### The default pull request trigger is changing

Expand Down
2 changes: 2 additions & 0 deletions Scenarios/DeliveryTargets.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ Your custom delivery script receives a hash table with the following parameters:

> **Note:** The folder parameters (`*Folder`) may be `$null` if no artifacts of that type were found. The plural versions (`*Folders`) contain arrays of all matching folders across different build modes.

> **Important:** The delivery step is automatically skipped at the workflow level when no app artifacts are available. This means your custom delivery script will not be executed if no app artifacts were built. This behavior prevents errors on initial commits, failed builds, or branches without code changes that produce artifacts.
Comment thread
mazhelez marked this conversation as resolved.
Outdated

### Branch-Specific Delivery

Configure different delivery targets for different branches:
Expand Down
2 changes: 2 additions & 0 deletions Templates/AppSource App/.github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ jobs:

- name: Deploy to Business Central
id: Deploy
if: hashFiles('.artifacts/**/*.app') != ''
uses: microsoft/AL-Go-Actions/Deploy@main
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
Expand Down Expand Up @@ -391,6 +392,7 @@ jobs:
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
if: hashFiles('.artifacts/**/*.app') != ''
uses: microsoft/AL-Go-Actions/Deliver@main
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
Expand Down
2 changes: 2 additions & 0 deletions Templates/Per Tenant Extension/.github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ jobs:

- name: Deploy to Business Central
id: Deploy
if: hashFiles('.artifacts/**/*.app') != ''
uses: microsoft/AL-Go-Actions/Deploy@main
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
Expand Down Expand Up @@ -405,6 +406,7 @@ jobs:
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
if: hashFiles('.artifacts/**/*.app') != ''
uses: microsoft/AL-Go-Actions/Deliver@main
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
Expand Down
6 changes: 6 additions & 0 deletions Workshop/ContinuousDelivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ For detailed step-by-step instructions, configuration examples, and troubleshoot

Custom delivery will be handled in an advanced part of this workshop later.

## Important Note: Automatic Skip Behavior

Delivery jobs automatically skip execution when no app artifacts are available.

This skip behavior prevents delivery errors and ensures that delivery targets are only invoked when there are actual artifacts to deliver. You'll see the delivery step appear as skipped in the workflow summary when this occurs.
Comment thread
mazhelez marked this conversation as resolved.
Outdated

OK, so **CD** stands for **Continuous Delivery**, I thought it was **Continuous Deployment**? Well, it is actually both, so let's talk about **Continuous Deployment**...

______________________________________________________________________
Expand Down
6 changes: 6 additions & 0 deletions Workshop/ContinuousDeployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ Paste the value from the clipboard into the "Value" field of the **AuthContext**

AL-Go can also be setup for custom deployment when you want to deploy to non-SaaS environments. More about this in the advanced section.

## Important Note: Automatic Skip Behavior

Deployment jobs automatically skip execution when no app artifacts are available.

This skip behavior prevents deployment errors and ensures that environments are only targeted when there are actual artifacts to deploy. You'll see the deployment step appear as skipped in the workflow summary when this occurs.
Comment thread
mazhelez marked this conversation as resolved.

This section was about Continuous Deployment, but you might not want to deploy to production environments continuously - how can we publish to production on demand?

______________________________________________________________________
Expand Down
Loading