Skip to content

ci: fix jitpack build - #9

Merged
mcnulty-fp merged 2 commits into
mainfrom
fix/INTER-1443-jitpack-build
Feb 27, 2026
Merged

mcnulty-fp merged 2 commits into
mainfrom
fix/INTER-1443-jitpack-build

Conversation

@mcnulty-fp

Copy link
Copy Markdown
Contributor
  • Update the Gradle build to skip some tasks if JITPACK=TRUE. This environment variable is set by the runner that JITPACK uses to build the artifacts that it serves. This avoids an issue with the jitpack build environment not being able to run google-java-format due to GLIBC issues.
  • Add a jitpack build smoke test to the test workflow to validate that the gradle build used by jitpack works.

The relevant snippet from the jitpack build log:

> Task :sdk:format FAILED
/home/jitpack/build/build/google-java-format.exe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/jitpack/build/build/google-java-format.exe)
/home/jitpack/build/build/google-java-format.exe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/jitpack/build/build/google-java-format.exe)

I think it makes sense to skip generation and formatting for the jitpack build because it is packaging the source artifacts and there is a chance that the source artifact could deviate from the source in this repo as result.

- Update the Gradle build to skip some tasks if JITPACK=TRUE. This
  environment variable is set by the runner that JITPACK uses to
  build the artifacts that it serves. This avoids an issue
  with the jitpack build environment not being able to run
  google-java-format due to GLIBC issues.
- Add a jitpack build smoke test to the test workflow to validate
  that the gradle build used by jitpack works.
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

java-sdk@8.0.0-rc.2

Patch Changes

  • Update build to support jitpack build environment (c9f6c5c)

@mcnulty-fp
mcnulty-fp merged commit 2d712f1 into main Feb 27, 2026
16 checks passed
@mcnulty-fp
mcnulty-fp deleted the fix/INTER-1443-jitpack-build branch February 27, 2026 17:52
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