Skip to content

Commit dd78bdd

Browse files
authored
Merge pull request #51 from DocSpring/ci/pin-ubuntu-24.04
Run the docs deploy and release on Ubuntu 24.04
2 parents e79b40f + 79d7921 commit dd78bdd

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎.github/workflows/deploy-docs.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ on:
1010
permissions:
1111
contents: read
1212

13+
# Not ubuntu-latest: it's moving to Ubuntu 26.04, and ruby/setup-ruby only has the newest Ruby patch releases for it
1314
jobs:
1415
build:
15-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1617
permissions:
1718
contents: read
1819
actions: read # to download the CI run's coverage artifact
@@ -105,7 +106,7 @@ jobs:
105106
environment:
106107
name: github-pages
107108
url: ${{ steps.deployment.outputs.page_url }}
108-
runs-on: ubuntu-latest
109+
runs-on: ubuntu-24.04
109110
needs: build
110111
permissions:
111112
pages: write

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ env:
2424
# Empty when a dry run is dispatched from a branch
2525
TAG_NAME: ${{ github.ref_type == 'tag' && github.ref_name || '' }}
2626

27+
# Not ubuntu-latest: it's moving to Ubuntu 26.04, and ruby/setup-ruby only has the newest Ruby patch releases for it
2728
jobs:
2829
# Every other job needs this one, so a tag that doesn't match version.rb publishes nothing
2930
wait_ci:
3031
name: Validate the tag and wait for CI success
31-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-24.04
3233
permissions:
3334
contents: read
3435
actions: read # to read the CI runs for the tagged commit
@@ -101,7 +102,7 @@ jobs:
101102
gem:
102103
name: Build RubyGem
103104
needs: wait_ci
104-
runs-on: ubuntu-latest
105+
runs-on: ubuntu-24.04
105106
outputs:
106107
gem_file: ${{ steps.build.outputs.gem_file }}
107108
steps:
@@ -158,7 +159,7 @@ jobs:
158159
name: Publish RubyGem
159160
needs: gem
160161
if: github.event_name == 'push' || inputs.dry_run != 'true'
161-
runs-on: ubuntu-latest
162+
runs-on: ubuntu-24.04
162163
environment: release
163164
permissions:
164165
contents: read
@@ -185,7 +186,7 @@ jobs:
185186
provider:
186187
name: Build Terraform provider catalog
187188
needs: wait_ci
188-
runs-on: ubuntu-latest
189+
runs-on: ubuntu-24.04
189190
steps:
190191
- name: Checkout
191192
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -252,7 +253,7 @@ jobs:
252253
name: Push + Tag Provider
253254
needs: provider
254255
if: github.event_name == 'push' || inputs.dry_run != 'true'
255-
runs-on: ubuntu-latest
256+
runs-on: ubuntu-24.04
256257
environment: release
257258
steps:
258259
- name: Download the provider changes

0 commit comments

Comments
 (0)