BUILD-9058 reuse BUILD_NUMBER from env#83
Conversation
b19cf43 to
2b85a52
Compare
2b85a52 to
e910a3f
Compare
🤖 Pull Request summaryEnhances build number action to support environment variable reuse. • Added env variable support: Action now reuses BUILD_NUMBER from environment if present, skipping cache/increment logic Review focus: The new environment variable precedence logic and conditional step execution in the composite action - ensure the skip logic properly prevents unnecessary API calls and caching operations.
|



BUILD-9058
The GitHub cache used by get-build-number is not reliable and can be desynchronized between two jobs.
To circumvent, this PR makes it possible to pass the BUILD_NUMBER through environment, in which case, the get-build-number action will skip its steps.
Add tests to check for the behavior.
Tested with