From 79d79214fccc4b1837e289003bfa6db93e37eb5b Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 23 Oct 2026 15:40:23 +1300 Subject: [PATCH] Run the docs deploy and release on Ubuntu 24.04 ubuntu-latest is moving to Ubuntu 26.04, and ruby/setup-ruby only has the newest Ruby patch releases for it, not the 3.4.5 in .ruby-version. The docs deploy for e79b40f landed on 26.04 and failed to install Ruby. The Release workflow's Ruby jobs would fail the same way. --- .github/workflows/deploy-docs.yml | 5 +++-- .github/workflows/release.yml | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 55c86ce..4eb5bb3 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -10,9 +10,10 @@ on: permissions: contents: read +# Not ubuntu-latest: it's moving to Ubuntu 26.04, and ruby/setup-ruby only has the newest Ruby patch releases for it jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read actions: read # to download the CI run's coverage artifact @@ -105,7 +106,7 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: build permissions: pages: write diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11b1633..0bd10ef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,11 +24,12 @@ env: # Empty when a dry run is dispatched from a branch TAG_NAME: ${{ github.ref_type == 'tag' && github.ref_name || '' }} +# Not ubuntu-latest: it's moving to Ubuntu 26.04, and ruby/setup-ruby only has the newest Ruby patch releases for it jobs: # Every other job needs this one, so a tag that doesn't match version.rb publishes nothing wait_ci: name: Validate the tag and wait for CI success - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read actions: read # to read the CI runs for the tagged commit @@ -101,7 +102,7 @@ jobs: gem: name: Build RubyGem needs: wait_ci - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 outputs: gem_file: ${{ steps.build.outputs.gem_file }} steps: @@ -158,7 +159,7 @@ jobs: name: Publish RubyGem needs: gem if: github.event_name == 'push' || inputs.dry_run != 'true' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 environment: release permissions: contents: read @@ -185,7 +186,7 @@ jobs: provider: name: Build Terraform provider catalog needs: wait_ci - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -252,7 +253,7 @@ jobs: name: Push + Tag Provider needs: provider if: github.event_name == 'push' || inputs.dry_run != 'true' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 environment: release steps: - name: Download the provider changes