Skip to content

Fix package publishing skipped on tagged builds - #2

Merged
HowardvanRooijen merged 1 commit into
mainfrom
features/fix-package-publish
Jul 23, 2026
Merged

Fix package publishing skipped on tagged builds#2
HowardvanRooijen merged 1 commit into
mainfrom
features/fix-package-publish

Conversation

@HowardvanRooijen

Copy link
Copy Markdown
Contributor

Mirrors ais-dotnet/Ais.Net.Models#9. The endjin pipeline's publish phase has needs: postCompile, and the post-compile phase only runs when postCompilePhaseTasks is set (if: inputs.postCompilePhaseTasks != ''). With it unset, post-compile is skipped, which cascades to skip publish on tagged builds (publish's if doesn't use always()). This is why Ais.Net.Models.Json did not publish.

Points postCompilePhaseTasks at a no-op InvokeBuild task (NoOp, added to .zf/config.ps1) so the post-compile phase runs and no longer blocks publish. On this PR's build, the Post-Compile job should now run (previously skipped).

🤖 Generated with Claude Code

The endjin pipeline publish phase has `needs: postCompile`, and the post-compile
phase only runs when postCompilePhaseTasks is set. With it unset the phase is
skipped, which cascades to skip publish on tagged builds. Point postCompilePhaseTasks
at a no-op InvokeBuild task (NoOp, added to .zf/config.ps1) so the phase runs and
publish is no longer skipped. Mirrors the fix applied to the Ais.Net.Models repo.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q3BkmohCNRYGY1RBKbNaCx
Copilot AI review requested due to automatic review settings July 23, 2026 19:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Ensures tagged builds publish packages by preventing the Endjin reusable pipeline’s publish phase from being skipped when the post-compile phase would otherwise be omitted.

Changes:

  • Adds a no-op InvokeBuild task (NoOp) so the pipeline’s post-compile phase can always execute.
  • Configures the workflow to run that no-op task via postCompilePhaseTasks, keeping the publish phase unblocked on tagged builds.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.zf/config.ps1 Adds an empty NoOp InvokeBuild task used to keep the post-compile phase alive.
.github/workflows/build.yml Sets postCompilePhaseTasks: 'NoOp' so the reusable pipeline includes the post-compile job and doesn’t skip publish.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown

Test Results

24 tests  ±0   24 ✅ ±0   0s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 2831842. ± Comparison against base commit 9d2f170.

@HowardvanRooijen
HowardvanRooijen merged commit 25653a3 into main Jul 23, 2026
11 of 12 checks passed
@HowardvanRooijen HowardvanRooijen added the pending_release Merging this PR should trigger a release label Jul 23, 2026
@endjin-bot endjin-bot Bot removed the pending_release Merging this PR should trigger a release label Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants