Skip to content

Fix Maven publish workflow + bump CI actions#31

Merged
nawforce merged 1 commit into
mainfrom
fix-publish-workflow
May 16, 2026
Merged

Fix Maven publish workflow + bump CI actions#31
nawforce merged 1 commit into
mainfrom
fix-publish-workflow

Conversation

@kjonescertinia

Copy link
Copy Markdown
Contributor

Summary

  • PublishMaven.yml was failing with sbt: command not found — the ubuntu-latest runner image no longer ships sbt preinstalled. Add sbt/setup-sbt@v1 to match Build.yml.
  • Bump action versions across both workflows to clear the Node.js 20 deprecation warnings: actions/checkout v4 → v6, actions/setup-java v4 → v5, actions/setup-node v4 → v6.
  • PublishMaven.yml: Java 8 → 11 (matches the apex-parser publish workflow), Node 16 → 22. Bytecode target stays Java 8 via the -source 8 -target 8 javacOptions in build.sbt.

Test plan

  • CI green on this PR (Build.yml runs against the same setup-sbt path Maven publish will use)
  • After merge, re-run Publish to Maven workflow on the existing v2.0.0-beta.1 tag (or whatever tag you cut) and confirm sbt ci-release runs to completion

PublishMaven.yml was failing with `sbt: command not found` because the
ubuntu-latest runner image no longer ships sbt preinstalled. Add
`sbt/setup-sbt@v1` to match Build.yml.

Also bump action versions in both workflows to silence the Node.js 20
deprecation warnings:
- actions/checkout v4 -> v6
- actions/setup-java v4 -> v5
- actions/setup-node v4 -> v6

PublishMaven.yml: Java 8 -> 11 (matches apex-parser publish), Node 16
-> 22. Output bytecode target stays Java 8 via build.sbt javacOptions.
@nawforce nawforce self-requested a review May 16, 2026 22:16
@nawforce nawforce merged commit d1dc31d into main May 16, 2026
1 check passed
@nawforce nawforce deleted the fix-publish-workflow branch May 16, 2026 22:21
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