From 8b279ab9f5e0f5eec54bc52e536f48a0ce1b232d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luismi=20Rami=CC=81rez?= Date: Tue, 22 Apr 2025 12:49:44 +0200 Subject: [PATCH 1/6] Add Jruby 10 to the CI matrix Add Jruby 10.0.0.0 to the build matrix --- .github/workflows/ci.yml | 732 ++++++++++++++++++++++++++++++++++++++- Rakefile | 5 + appsignal.gemspec | 4 +- build_matrix.yml | 6 + 4 files changed, 744 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0effc87e..ab91f59a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ # This is a generated file by the `rake build_matrix:github:generate` task. # See `build_matrix.yml` for the build matrix. # Generate this file with `rake build_matrix:github:generate`. -# Generated job count: 186 +# Generated job count: 192 --- name: Ruby gem CI 'on': @@ -80,6 +80,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -109,6 +112,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -136,6 +142,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -163,6 +172,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -190,6 +202,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -217,6 +232,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -244,6 +262,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -271,6 +292,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -298,6 +322,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -325,6 +352,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -352,6 +382,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -379,6 +412,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -406,6 +442,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -433,6 +472,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -460,6 +502,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -487,6 +532,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -514,6 +562,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -541,6 +592,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -568,6 +622,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -595,6 +652,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -622,6 +682,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -649,6 +712,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -676,6 +742,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -703,6 +772,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -730,6 +802,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -757,6 +832,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -784,6 +862,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -813,6 +894,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -842,6 +926,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -869,6 +956,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -896,6 +986,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -923,6 +1016,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -950,6 +1046,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -977,6 +1076,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1004,6 +1106,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1031,6 +1136,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1058,6 +1166,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1085,6 +1196,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1112,6 +1226,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1139,6 +1256,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1166,6 +1286,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1193,6 +1316,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1220,6 +1346,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1247,6 +1376,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1274,6 +1406,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1301,6 +1436,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1328,6 +1466,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1355,6 +1496,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1382,6 +1526,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1409,6 +1556,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1436,6 +1586,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1463,6 +1616,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1490,6 +1646,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1517,6 +1676,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1546,6 +1708,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1575,6 +1740,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1602,6 +1770,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1629,6 +1800,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1656,6 +1830,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1683,6 +1860,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1710,6 +1890,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1737,6 +1920,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1764,6 +1950,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1791,6 +1980,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1818,6 +2010,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1845,6 +2040,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1872,6 +2070,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1899,6 +2100,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1926,6 +2130,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1953,6 +2160,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -1980,6 +2190,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2007,6 +2220,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2034,6 +2250,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2061,6 +2280,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2088,6 +2310,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2115,6 +2340,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2142,6 +2370,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2169,6 +2400,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2196,6 +2430,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2223,6 +2460,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2252,6 +2492,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2281,6 +2524,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2308,6 +2554,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2335,6 +2584,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2362,6 +2614,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2389,6 +2644,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2416,6 +2674,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2443,6 +2704,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2470,6 +2734,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2497,6 +2764,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2524,6 +2794,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2551,6 +2824,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2578,6 +2854,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2605,6 +2884,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2632,6 +2914,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2659,6 +2944,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2686,6 +2974,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2713,6 +3004,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2740,6 +3034,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2767,6 +3064,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2794,6 +3094,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2821,6 +3124,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2848,6 +3154,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2875,6 +3184,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2902,6 +3214,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2929,6 +3244,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2958,6 +3276,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -2987,6 +3308,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3014,6 +3338,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3041,6 +3368,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3068,6 +3398,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3095,6 +3428,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3122,6 +3458,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3149,6 +3488,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3176,6 +3518,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3203,6 +3548,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3230,6 +3578,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3257,6 +3608,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3284,6 +3638,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3311,6 +3668,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3338,6 +3698,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3365,6 +3728,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3392,6 +3758,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3419,6 +3788,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3446,6 +3818,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3473,6 +3848,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3500,6 +3878,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3527,6 +3908,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3554,6 +3938,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3581,6 +3968,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3608,6 +3998,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3637,6 +4030,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3666,6 +4062,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3693,6 +4092,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3720,6 +4122,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3747,6 +4152,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3774,6 +4182,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3801,6 +4212,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3828,6 +4242,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3855,6 +4272,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3882,6 +4302,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3909,6 +4332,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3936,6 +4362,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3963,6 +4392,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -3990,6 +4422,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4017,6 +4452,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4044,6 +4482,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4071,6 +4512,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4098,6 +4542,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4125,6 +4572,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4152,6 +4602,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4179,6 +4632,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4206,6 +4662,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4233,6 +4692,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4260,6 +4722,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4289,6 +4754,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4318,6 +4786,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4345,6 +4816,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4372,6 +4846,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4399,6 +4876,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4426,6 +4906,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4453,6 +4936,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4480,6 +4966,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4507,6 +4996,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4534,6 +5026,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4561,6 +5056,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4588,6 +5086,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4615,6 +5116,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4642,6 +5146,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4669,6 +5176,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4696,6 +5206,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4723,6 +5236,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4750,6 +5266,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4777,6 +5296,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4804,6 +5326,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4833,6 +5358,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4862,6 +5390,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4889,6 +5420,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4916,6 +5450,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4943,6 +5480,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4970,6 +5510,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -4997,6 +5540,9 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') - name: Install Ruby uses: ruby/setup-ruby@v1 with: @@ -5019,3 +5565,187 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile + ruby_jruby-10-0-0-0_ubuntu-latest: + name: Ruby jruby-10.0.0.0 + needs: validation + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: jruby-10.0.0.0 + bundler-cache: true + - name: Install gem extension + run: "./script/bundler_wrapper exec rake extension:install" + - name: Print extension install report + run: "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report + file found'" + - name: Print Makefile log file + run: "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file + found'" + - name: Run tests + run: "./script/bundler_wrapper exec rake test" + - name: Run tests without extension + run: "./script/bundler_wrapper exec rake test:failure" + env: + RAILS_ENV: test + JRUBY_OPTS: '' + COV: '1' + BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile + ruby_jruby-10-0-0-0__rails-7-0_ubuntu-latest: + name: Ruby jruby-10.0.0.0 - rails-7.0 + needs: ruby_jruby-10-0-0-0_ubuntu-latest + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: jruby-10.0.0.0 + bundler-cache: true + - name: Install gem extension + run: "./script/bundler_wrapper exec rake extension:install" + - name: Print extension install report + run: "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report + file found'" + - name: Print Makefile log file + run: "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file + found'" + - name: Run tests + run: "./script/bundler_wrapper exec rake test" + env: + RAILS_ENV: test + JRUBY_OPTS: '' + COV: '1' + BUNDLE_GEMFILE: gemfiles/rails-7.0.gemfile + ruby_jruby-10-0-0-0__rails-7-1_ubuntu-latest: + name: Ruby jruby-10.0.0.0 - rails-7.1 + needs: ruby_jruby-10-0-0-0_ubuntu-latest + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: jruby-10.0.0.0 + bundler-cache: true + - name: Install gem extension + run: "./script/bundler_wrapper exec rake extension:install" + - name: Print extension install report + run: "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report + file found'" + - name: Print Makefile log file + run: "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file + found'" + - name: Run tests + run: "./script/bundler_wrapper exec rake test" + env: + RAILS_ENV: test + JRUBY_OPTS: '' + COV: '1' + BUNDLE_GEMFILE: gemfiles/rails-7.1.gemfile + ruby_jruby-10-0-0-0__rails-7-2_ubuntu-latest: + name: Ruby jruby-10.0.0.0 - rails-7.2 + needs: ruby_jruby-10-0-0-0_ubuntu-latest + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: jruby-10.0.0.0 + bundler-cache: true + - name: Install gem extension + run: "./script/bundler_wrapper exec rake extension:install" + - name: Print extension install report + run: "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report + file found'" + - name: Print Makefile log file + run: "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file + found'" + - name: Run tests + run: "./script/bundler_wrapper exec rake test" + env: + RAILS_ENV: test + JRUBY_OPTS: '' + COV: '1' + BUNDLE_GEMFILE: gemfiles/rails-7.2.gemfile + ruby_jruby-10-0-0-0__rails-8-0_ubuntu-latest: + name: Ruby jruby-10.0.0.0 - rails-8.0 + needs: ruby_jruby-10-0-0-0_ubuntu-latest + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: jruby-10.0.0.0 + bundler-cache: true + - name: Install gem extension + run: "./script/bundler_wrapper exec rake extension:install" + - name: Print extension install report + run: "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report + file found'" + - name: Print Makefile log file + run: "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file + found'" + - name: Run tests + run: "./script/bundler_wrapper exec rake test" + env: + RAILS_ENV: test + JRUBY_OPTS: '' + COV: '1' + BUNDLE_GEMFILE: gemfiles/rails-8.0.gemfile + ruby_jruby-10-0-0-0_macos-14: + name: Ruby jruby-10.0.0.0 (macos-14) + needs: validation + runs-on: macos-14 + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Set JAVA_HOME + run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" + if: startsWith(github.job, 'ruby_jruby') + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: jruby-10.0.0.0 + bundler-cache: true + - name: Install gem extension + run: "./script/bundler_wrapper exec rake extension:install" + - name: Print extension install report + run: "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report + file found'" + - name: Print Makefile log file + run: "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file + found'" + - name: Run tests + run: "./script/bundler_wrapper exec rake test" + - name: Run tests without extension + run: "./script/bundler_wrapper exec rake test:failure" + env: + RAILS_ENV: test + JRUBY_OPTS: '' + COV: '1' + BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile diff --git a/Rakefile b/Rakefile index 021e7cf7..09acaf44 100644 --- a/Rakefile +++ b/Rakefile @@ -33,6 +33,11 @@ def build_job(ruby_version, ruby_gem: nil, runs_on: DEFAULT_RUNS_ON) "name" => "Check out repository", "uses" => "actions/checkout@v4" }, + { + "name" => "Set JAVA_HOME", + "run" => 'echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV"', + "if" => "startsWith(github.job, 'ruby_jruby')" + }, { "name" => "Install Ruby", "uses" => "ruby/setup-ruby@v1", diff --git a/appsignal.gemspec b/appsignal.gemspec index da6ddf80..4522b4de 100644 --- a/appsignal.gemspec +++ b/appsignal.gemspec @@ -1,6 +1,6 @@ # frozen_string_literal: true -require File.expand_path("lib/appsignal/version", __dir__) +gem_version = File.read("lib/appsignal/version.rb").match(/VERSION\s*=\s*["'](.+)["']/)[1] IGNORED_PATHS = [ # Directories @@ -40,7 +40,7 @@ Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) } gem.name = "appsignal" gem.require_paths = %w[lib ext] - gem.version = Appsignal::VERSION + gem.version = gem_version gem.required_ruby_version = ">= 2.7" # Default extension installer. Overridden by JRuby gemspec as defined in # `Rakefile`. diff --git a/build_matrix.yml b/build_matrix.yml index bce038ec..40c70b04 100644 --- a/build_matrix.yml +++ b/build_matrix.yml @@ -97,6 +97,8 @@ matrix: - ruby: "2.7.8" - ruby: "jruby-9.4.7.0" gems: "minimal" + - ruby: "jruby-10.0.0.0" + gems: "minimal" gems: - gem: "no_dependencies" - gem: "capistrano2" @@ -188,6 +190,7 @@ matrix: - "3.0.7" - "2.7.8" - "jruby-9.4.7.0" + - "jruby-10.0.0.0" - gem: "rails-7.1" only: ruby: @@ -198,6 +201,7 @@ matrix: - "3.1.6" - "3.0.7" - "jruby-9.4.7.0" + - "jruby-10.0.0.0" - gem: "rails-7.2" only: ruby: @@ -207,6 +211,7 @@ matrix: - "3.2.5" - "3.1.6" - "jruby-9.4.7.0" + - "jruby-10.0.0.0" - gem: "rails-8.0" only: ruby: @@ -214,6 +219,7 @@ matrix: - "3.4.1" - "3.3.4" - "3.2.5" + - "jruby-10.0.0.0" - gem: "sequel" - gem: "sinatra" - gem: "webmachine2" From b19ed26a971a226b7747eff4540e0bddd3bdb0bf Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Wed, 18 Jun 2025 09:37:52 +0200 Subject: [PATCH 2/6] Bump JRuby versions on CI Test against the latest versions with the latest bugfixes. --- .github/workflows/ci.yml | 96 ++++++++++++++++++++-------------------- build_matrix.yml | 22 ++++----- 2 files changed, 59 insertions(+), 59 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab91f59a..86db230b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5351,8 +5351,8 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile - ruby_jruby-9-4-7-0_ubuntu-latest: - name: Ruby jruby-9.4.7.0 + ruby_jruby-9-4-13-0_ubuntu-latest: + name: Ruby jruby-9.4.13.0 needs: validation runs-on: ubuntu-latest steps: @@ -5364,7 +5364,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.4.7.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5383,9 +5383,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile - ruby_jruby-9-4-7-0__rails-6-0_ubuntu-latest: - name: Ruby jruby-9.4.7.0 - rails-6.0 - needs: ruby_jruby-9-4-7-0_ubuntu-latest + ruby_jruby-9-4-13-0__rails-6-0_ubuntu-latest: + name: Ruby jruby-9.4.13.0 - rails-6.0 + needs: ruby_jruby-9-4-13-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5396,7 +5396,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.4.7.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5413,9 +5413,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-6.0.gemfile - ruby_jruby-9-4-7-0__rails-6-1_ubuntu-latest: - name: Ruby jruby-9.4.7.0 - rails-6.1 - needs: ruby_jruby-9-4-7-0_ubuntu-latest + ruby_jruby-9-4-13-0__rails-6-1_ubuntu-latest: + name: Ruby jruby-9.4.13.0 - rails-6.1 + needs: ruby_jruby-9-4-13-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5426,7 +5426,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.4.7.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5443,9 +5443,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-6.1.gemfile - ruby_jruby-9-4-7-0__rails-7-0_ubuntu-latest: - name: Ruby jruby-9.4.7.0 - rails-7.0 - needs: ruby_jruby-9-4-7-0_ubuntu-latest + ruby_jruby-9-4-13-0__rails-7-0_ubuntu-latest: + name: Ruby jruby-9.4.13.0 - rails-7.0 + needs: ruby_jruby-9-4-13-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5456,7 +5456,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.4.7.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5473,9 +5473,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.0.gemfile - ruby_jruby-9-4-7-0__rails-7-1_ubuntu-latest: - name: Ruby jruby-9.4.7.0 - rails-7.1 - needs: ruby_jruby-9-4-7-0_ubuntu-latest + ruby_jruby-9-4-13-0__rails-7-1_ubuntu-latest: + name: Ruby jruby-9.4.13.0 - rails-7.1 + needs: ruby_jruby-9-4-13-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5486,7 +5486,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.4.7.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5503,9 +5503,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.1.gemfile - ruby_jruby-9-4-7-0__rails-7-2_ubuntu-latest: - name: Ruby jruby-9.4.7.0 - rails-7.2 - needs: ruby_jruby-9-4-7-0_ubuntu-latest + ruby_jruby-9-4-13-0__rails-7-2_ubuntu-latest: + name: Ruby jruby-9.4.13.0 - rails-7.2 + needs: ruby_jruby-9-4-13-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5516,7 +5516,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.4.7.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5533,8 +5533,8 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.2.gemfile - ruby_jruby-9-4-7-0_macos-14: - name: Ruby jruby-9.4.7.0 (macos-14) + ruby_jruby-9-4-13-0_macos-14: + name: Ruby jruby-9.4.13.0 (macos-14) needs: validation runs-on: macos-14 steps: @@ -5546,7 +5546,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.4.7.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5565,8 +5565,8 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile - ruby_jruby-10-0-0-0_ubuntu-latest: - name: Ruby jruby-10.0.0.0 + ruby_jruby-10-0-0-1_ubuntu-latest: + name: Ruby jruby-10.0.0.1 needs: validation runs-on: ubuntu-latest steps: @@ -5578,7 +5578,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.0 + ruby-version: jruby-10.0.0.1 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5597,9 +5597,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile - ruby_jruby-10-0-0-0__rails-7-0_ubuntu-latest: - name: Ruby jruby-10.0.0.0 - rails-7.0 - needs: ruby_jruby-10-0-0-0_ubuntu-latest + ruby_jruby-10-0-0-1__rails-7-0_ubuntu-latest: + name: Ruby jruby-10.0.0.1 - rails-7.0 + needs: ruby_jruby-10-0-0-1_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5610,7 +5610,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.0 + ruby-version: jruby-10.0.0.1 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5627,9 +5627,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.0.gemfile - ruby_jruby-10-0-0-0__rails-7-1_ubuntu-latest: - name: Ruby jruby-10.0.0.0 - rails-7.1 - needs: ruby_jruby-10-0-0-0_ubuntu-latest + ruby_jruby-10-0-0-1__rails-7-1_ubuntu-latest: + name: Ruby jruby-10.0.0.1 - rails-7.1 + needs: ruby_jruby-10-0-0-1_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5640,7 +5640,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.0 + ruby-version: jruby-10.0.0.1 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5657,9 +5657,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.1.gemfile - ruby_jruby-10-0-0-0__rails-7-2_ubuntu-latest: - name: Ruby jruby-10.0.0.0 - rails-7.2 - needs: ruby_jruby-10-0-0-0_ubuntu-latest + ruby_jruby-10-0-0-1__rails-7-2_ubuntu-latest: + name: Ruby jruby-10.0.0.1 - rails-7.2 + needs: ruby_jruby-10-0-0-1_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5670,7 +5670,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.0 + ruby-version: jruby-10.0.0.1 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5687,9 +5687,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.2.gemfile - ruby_jruby-10-0-0-0__rails-8-0_ubuntu-latest: - name: Ruby jruby-10.0.0.0 - rails-8.0 - needs: ruby_jruby-10-0-0-0_ubuntu-latest + ruby_jruby-10-0-0-1__rails-8-0_ubuntu-latest: + name: Ruby jruby-10.0.0.1 - rails-8.0 + needs: ruby_jruby-10-0-0-1_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5700,7 +5700,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.0 + ruby-version: jruby-10.0.0.1 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5717,8 +5717,8 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-8.0.gemfile - ruby_jruby-10-0-0-0_macos-14: - name: Ruby jruby-10.0.0.0 (macos-14) + ruby_jruby-10-0-0-1_macos-14: + name: Ruby jruby-10.0.0.1 (macos-14) needs: validation runs-on: macos-14 steps: @@ -5730,7 +5730,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.0 + ruby-version: jruby-10.0.0.1 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" diff --git a/build_matrix.yml b/build_matrix.yml index 40c70b04..3e019dee 100644 --- a/build_matrix.yml +++ b/build_matrix.yml @@ -95,9 +95,9 @@ matrix: - ruby: "3.1.6" - ruby: "3.0.7" - ruby: "2.7.8" - - ruby: "jruby-9.4.7.0" + - ruby: "jruby-9.4.13.0" gems: "minimal" - - ruby: "jruby-10.0.0.0" + - ruby: "jruby-10.0.0.1" gems: "minimal" gems: - gem: "no_dependencies" @@ -169,7 +169,7 @@ matrix: ruby: - "3.0.7" - "2.7.8" - - "jruby-9.4.7.0" + - "jruby-9.4.13.0" - gem: "rails-6.1" only: ruby: @@ -178,7 +178,7 @@ matrix: - "3.1.6" - "3.0.7" - "2.7.8" - - "jruby-9.4.7.0" + - "jruby-9.4.13.0" - gem: "rails-7.0" only: ruby: @@ -189,8 +189,8 @@ matrix: - "3.1.6" - "3.0.7" - "2.7.8" - - "jruby-9.4.7.0" - - "jruby-10.0.0.0" + - "jruby-9.4.13.0" + - "jruby-10.0.0.1" - gem: "rails-7.1" only: ruby: @@ -200,8 +200,8 @@ matrix: - "3.2.5" - "3.1.6" - "3.0.7" - - "jruby-9.4.7.0" - - "jruby-10.0.0.0" + - "jruby-9.4.13.0" + - "jruby-10.0.0.1" - gem: "rails-7.2" only: ruby: @@ -210,8 +210,8 @@ matrix: - "3.3.4" - "3.2.5" - "3.1.6" - - "jruby-9.4.7.0" - - "jruby-10.0.0.0" + - "jruby-9.4.13.0" + - "jruby-10.0.0.1" - gem: "rails-8.0" only: ruby: @@ -219,7 +219,7 @@ matrix: - "3.4.1" - "3.3.4" - "3.2.5" - - "jruby-10.0.0.0" + - "jruby-10.0.0.1" - gem: "sequel" - gem: "sinatra" - gem: "webmachine2" From 45ee11d5cb34915582cb5df14f6fc20f6c6b4041 Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Tue, 17 Jun 2025 17:43:40 +0200 Subject: [PATCH 3/6] Fix diagnose test for JRuby The patchlevel of the Ruby version is included in JRuby and MRI after updating the JRuby versions. Update the assertion to match. --- spec/lib/appsignal/cli/diagnose_spec.rb | 10 +++++----- spec/support/helpers/dependency_helper.rb | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/spec/lib/appsignal/cli/diagnose_spec.rb b/spec/lib/appsignal/cli/diagnose_spec.rb index bbf35c3d..27dfde4a 100644 --- a/spec/lib/appsignal/cli/diagnose_spec.rb +++ b/spec/lib/appsignal/cli/diagnose_spec.rb @@ -265,13 +265,13 @@ def dont_accept_prompt_to_send_diagnostics_report it "adds the installation report to the diagnostics report" do run - jruby = Appsignal::System.jruby? + is_jruby = Appsignal::System.jruby? language = { "name" => "ruby", - "version" => "#{RUBY_VERSION}#{"-p#{rbconfig["PATCHLEVEL"]}" unless jruby}", - "implementation" => jruby ? "jruby" : "ruby" + "version" => "#{RUBY_VERSION}-p#{rbconfig["PATCHLEVEL"]}", + "implementation" => is_jruby ? "jruby" : "ruby" } - language["implementation_version"] = JRUBY_VERSION if jruby + language["implementation_version"] = JRUBY_VERSION if is_jruby expect(received_report["installation"]).to match( "result" => { "status" => "success" @@ -289,7 +289,7 @@ def dont_accept_prompt_to_send_diagnostics_report "target" => Appsignal::System.agent_platform, "musl_override" => false, "linux_arm_override" => false, - "library_type" => jruby ? "dynamic" : "static", + "library_type" => is_jruby ? "dynamic" : "static", "source" => "remote", "dependencies" => kind_of(Hash), "flags" => kind_of(Hash), diff --git a/spec/support/helpers/dependency_helper.rb b/spec/support/helpers/dependency_helper.rb index a386a2ce..384e00af 100644 --- a/spec/support/helpers/dependency_helper.rb +++ b/spec/support/helpers/dependency_helper.rb @@ -25,6 +25,10 @@ def running_jruby? Appsignal::System.jruby? end + def running_jruby10? + Appsignal::System.jruby? && Gem::Version.new(JRUBY_VERSION) >= Gem::Version.new("10.0.0.0") + end + def rails_present? dependency_present? "rails" end From d76b6e21853c95df183262ede74e5f82598919e5 Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Wed, 18 Jun 2025 10:31:58 +0200 Subject: [PATCH 4/6] Remove Rails 7.0 from JRuby 10 matrix We get some weird error that's unrelated to our tests or instrumentation, so let's just ignore the older versions of Rails for now. --- .github/workflows/ci.yml | 32 +------------------------------- build_matrix.yml | 1 - 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86db230b..07804792 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ # This is a generated file by the `rake build_matrix:github:generate` task. # See `build_matrix.yml` for the build matrix. # Generate this file with `rake build_matrix:github:generate`. -# Generated job count: 192 +# Generated job count: 191 --- name: Ruby gem CI 'on': @@ -5597,36 +5597,6 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile - ruby_jruby-10-0-0-1__rails-7-0_ubuntu-latest: - name: Ruby jruby-10.0.0.1 - rails-7.0 - needs: ruby_jruby-10-0-0-1_ubuntu-latest - runs-on: ubuntu-latest - steps: - - name: Check out repository - uses: actions/checkout@v4 - - name: Set JAVA_HOME - run: echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV" - if: startsWith(github.job, 'ruby_jruby') - - name: Install Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: jruby-10.0.0.1 - bundler-cache: true - - name: Install gem extension - run: "./script/bundler_wrapper exec rake extension:install" - - name: Print extension install report - run: "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report - file found'" - - name: Print Makefile log file - run: "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file - found'" - - name: Run tests - run: "./script/bundler_wrapper exec rake test" - env: - RAILS_ENV: test - JRUBY_OPTS: '' - COV: '1' - BUNDLE_GEMFILE: gemfiles/rails-7.0.gemfile ruby_jruby-10-0-0-1__rails-7-1_ubuntu-latest: name: Ruby jruby-10.0.0.1 - rails-7.1 needs: ruby_jruby-10-0-0-1_ubuntu-latest diff --git a/build_matrix.yml b/build_matrix.yml index 3e019dee..1b77e02a 100644 --- a/build_matrix.yml +++ b/build_matrix.yml @@ -190,7 +190,6 @@ matrix: - "3.0.7" - "2.7.8" - "jruby-9.4.13.0" - - "jruby-10.0.0.1" - gem: "rails-7.1" only: ruby: From 16a56cde741a882dc3b57ad0bb70838555e6c928 Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Tue, 17 Jun 2025 18:13:24 +0200 Subject: [PATCH 5/6] Fix ActionCable test helper loading on JRuby For JRuby 10 with Rails, these files needs to be loaded. --- spec/lib/appsignal/hooks/action_cable_spec.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/lib/appsignal/hooks/action_cable_spec.rb b/spec/lib/appsignal/hooks/action_cable_spec.rb index a1b67e93..dd35eb67 100644 --- a/spec/lib/appsignal/hooks/action_cable_spec.rb +++ b/spec/lib/appsignal/hooks/action_cable_spec.rb @@ -3,7 +3,11 @@ context "with ActionCable" do require "action_cable/engine" # Require test helper to test with ConnectionStub - require "action_cable/channel/test_case" if DependencyHelper.rails6_present? + if DependencyHelper.rails6_present? + require "action_cable" + require "action_cable/test_helper" + require "action_cable/channel/test_case" + end describe ".dependencies_present?" do subject { described_class.new.dependencies_present? } From e9e806df23d42b44a503eed06f76b5239828f731 Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Tue, 22 Jul 2025 15:28:03 +0200 Subject: [PATCH 6/6] Update JRuby to 10.0.1.0 See if this fixes the CI build issues we have now. --- .github/workflows/ci.yml | 36 ++++++++++++++++++------------------ build_matrix.yml | 8 ++++---- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07804792..059d70c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5565,8 +5565,8 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile - ruby_jruby-10-0-0-1_ubuntu-latest: - name: Ruby jruby-10.0.0.1 + ruby_jruby-10-0-1-0_ubuntu-latest: + name: Ruby jruby-10.0.1.0 needs: validation runs-on: ubuntu-latest steps: @@ -5578,7 +5578,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.1 + ruby-version: jruby-10.0.1.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5597,9 +5597,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/no_dependencies.gemfile - ruby_jruby-10-0-0-1__rails-7-1_ubuntu-latest: - name: Ruby jruby-10.0.0.1 - rails-7.1 - needs: ruby_jruby-10-0-0-1_ubuntu-latest + ruby_jruby-10-0-1-0__rails-7-1_ubuntu-latest: + name: Ruby jruby-10.0.1.0 - rails-7.1 + needs: ruby_jruby-10-0-1-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5610,7 +5610,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.1 + ruby-version: jruby-10.0.1.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5627,9 +5627,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.1.gemfile - ruby_jruby-10-0-0-1__rails-7-2_ubuntu-latest: - name: Ruby jruby-10.0.0.1 - rails-7.2 - needs: ruby_jruby-10-0-0-1_ubuntu-latest + ruby_jruby-10-0-1-0__rails-7-2_ubuntu-latest: + name: Ruby jruby-10.0.1.0 - rails-7.2 + needs: ruby_jruby-10-0-1-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5640,7 +5640,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.1 + ruby-version: jruby-10.0.1.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5657,9 +5657,9 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-7.2.gemfile - ruby_jruby-10-0-0-1__rails-8-0_ubuntu-latest: - name: Ruby jruby-10.0.0.1 - rails-8.0 - needs: ruby_jruby-10-0-0-1_ubuntu-latest + ruby_jruby-10-0-1-0__rails-8-0_ubuntu-latest: + name: Ruby jruby-10.0.1.0 - rails-8.0 + needs: ruby_jruby-10-0-1-0_ubuntu-latest runs-on: ubuntu-latest steps: - name: Check out repository @@ -5670,7 +5670,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.1 + ruby-version: jruby-10.0.1.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" @@ -5687,8 +5687,8 @@ jobs: JRUBY_OPTS: '' COV: '1' BUNDLE_GEMFILE: gemfiles/rails-8.0.gemfile - ruby_jruby-10-0-0-1_macos-14: - name: Ruby jruby-10.0.0.1 (macos-14) + ruby_jruby-10-0-1-0_macos-14: + name: Ruby jruby-10.0.1.0 (macos-14) needs: validation runs-on: macos-14 steps: @@ -5700,7 +5700,7 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-10.0.0.1 + ruby-version: jruby-10.0.1.0 bundler-cache: true - name: Install gem extension run: "./script/bundler_wrapper exec rake extension:install" diff --git a/build_matrix.yml b/build_matrix.yml index 1b77e02a..2cc01ff0 100644 --- a/build_matrix.yml +++ b/build_matrix.yml @@ -97,7 +97,7 @@ matrix: - ruby: "2.7.8" - ruby: "jruby-9.4.13.0" gems: "minimal" - - ruby: "jruby-10.0.0.1" + - ruby: "jruby-10.0.1.0" gems: "minimal" gems: - gem: "no_dependencies" @@ -200,7 +200,7 @@ matrix: - "3.1.6" - "3.0.7" - "jruby-9.4.13.0" - - "jruby-10.0.0.1" + - "jruby-10.0.1.0" - gem: "rails-7.2" only: ruby: @@ -210,7 +210,7 @@ matrix: - "3.2.5" - "3.1.6" - "jruby-9.4.13.0" - - "jruby-10.0.0.1" + - "jruby-10.0.1.0" - gem: "rails-8.0" only: ruby: @@ -218,7 +218,7 @@ matrix: - "3.4.1" - "3.3.4" - "3.2.5" - - "jruby-10.0.0.1" + - "jruby-10.0.1.0" - gem: "sequel" - gem: "sinatra" - gem: "webmachine2"