Skip to content

Commit

Permalink
Fix runner image to ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
dpiparo committed Dec 20, 2024
1 parent 011548d commit ce7aa80
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ env:
jobs:
build:
name: Jekyll Build
runs-on: ubuntu-latest
# Fix to ubuntu 22.04. In 2027, at the EOL of that distro, this GH warning will have to be addressed:
# The current runner (ubuntu-24.04-x64) was detected as self-hosted because the platform does not match a GitHub-hosted runner image (or that image is deprecated and no longer supported).
# In such a case, you should install Ruby in the $RUNNER_TOOL_CACHE yourself, for example using https://github.com/rbenv/ruby-build
# You can take inspiration from this workflow for more details: https://github.com/ruby/ruby-builder/blob/master/.github/workflows/build.yml
# $ ruby-build 3.1.4 /opt/hostedtoolcache/Ruby/3.1.4/x64
# Once that completes successfully, mark it as complete with:
# $ touch /opt/hostedtoolcache/Ruby/3.1.4/x64.complete
# It is your responsibility to ensure installing Ruby like that is not done in parallel.
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/delete-deployed-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ on:

jobs:
delete_deployed_pr:
runs-on: ubuntu-latest
# Fix to ubuntu 22.04. In 2027, at the EOL of that distro, this GH warning will have to be addressed:
# The current runner (ubuntu-24.04-x64) was detected as self-hosted because the platform does not match a GitHub-hosted runner image (or that image is deprecated and no longer supported).
# In such a case, you should install Ruby in the $RUNNER_TOOL_CACHE yourself, for example using https://github.com/rbenv/ruby-build
# You can take inspiration from this workflow for more details: https://github.com/ruby/ruby-builder/blob/master/.github/workflows/build.yml
# $ ruby-build 3.1.4 /opt/hostedtoolcache/Ruby/3.1.4/x64
# Once that completes successfully, mark it as complete with:
# $ touch /opt/hostedtoolcache/Ruby/3.1.4/x64.complete
# It is your responsibility to ensure installing Ruby like that is not done in parallel.
runs-on: ubuntu-22.04
# PRs are only deployed if the PR branch is not in a fork
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
steps:
Expand Down

0 comments on commit ce7aa80

Please sign in to comment.