GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(ci): skip clean in ci-release to preserve apex-ls JAR for MCP build by kjonescertinia · Pull Request #408 · apex-dev-tools/apex-ls

Conversation

@kjonescertinia

@kjonescertinia kjonescertinia commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

Summary

Fixes the publish workflow failure where the MCP build cannot find the apex-ls JAR.

Problem

The sbt-ci-release plugin runs clean by default before publishing:

sys.env.getOrElse("CI_CLEAN", "; clean")

This causes the following sequence:

  1. sbt build → apex-ls JAR exists in jvm/target/
  2. sbt ci-release (main) → runs clean, deletes jvm/target/, then publishes
  3. sbt ci-release (mcp) → fails because apex-ls JAR is gone

Solution

Set CI_CLEAN: "" environment variable on the main publish step to skip the clean, preserving the apex-ls JAR for the MCP build.

Testing

After merging:

  1. Delete the failed v6.0.2 release and tag
  2. Recreate the v6.0.2 release
  3. Verify the Publish workflow completes successfully

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kjonescertinia
fix(ci): skip clean in ci-release to preserve apex-ls JAR for MCP build
d3b8e85
The ci-release plugin runs 'clean' by default before publishing, which
removes the apex-ls JAR from jvm/target/. The MCP build depends on this
JAR being present. Setting CI_CLEAN="" skips the clean step.
@kjonescertinia
kjonescertinia merged commit d2098ac into main Nov 27, 2025
@kjonescertinia
kjonescertinia deleted the fix/publish-workflow-mcp-rebuild branch November 27, 2025 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@kjonescertinia
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.