Skip to content

ci: Remove cache_key calculation - #2299

Merged
arielvalentin merged 1 commit into
open-telemetry:mainfrom
thompson-tomo:ci/remove_cache-key
May 2, 2026
Merged

arielvalentin merged 1 commit into
open-telemetry:mainfrom
thompson-tomo:ci/remove_cache-key

Conversation

@thompson-tomo

@thompson-tomo thompson-tomo commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Currently we are calculating a cache key using

echo “cache_key=mri” >> $GITHUB_OUTPUT
if [[ “$RUBY_INPUT” == “jruby” ]]; then
  echo “cache_key=jruby” >> $GITHUB_OUTPUT
elif [[ “$RUBY_INPUT” == “truffleruby” ]]; then
  echo “cache_key=truffleruby” >> $GITHUB_OUTPUT
fi

However in no scenario is any value other than mri determined due to $RUBY_INPUT being jruby-10.0.2.0 etc and the usage already differentiate based on ruby version.

As such the variable and it's single usage is removed.

Removed RUBY_INPUT from environment variables and simplified cache version handling.
@arielvalentin
arielvalentin added this pull request to the merge queue May 2, 2026
Merged via the queue into open-telemetry:main with commit ab0fd6f May 2, 2026
78 checks passed
@thompson-tomo
thompson-tomo deleted the ci/remove_cache-key branch May 2, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants