Skip to content

Commit

Permalink
Update Ruby action
Browse files Browse the repository at this point in the history
Build Docs github action is broken with following error[1]
```
Error: 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).
```
Using ruby/setup-ruby@v1 fixes the issue.

Similar fix is proposed here also openstack-k8s-operators/data-plane-adoption#777

Link:
[1]. https://github.com/openstack-k8s-operators/watcher-operator/actions/runs/12664082918/job/35291667930

Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
  • Loading branch information
raukadah authored and openshift-merge-bot[bot] committed Jan 10, 2025
1 parent ab9d7d1 commit 9a3bfdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
# this fetches all branches. Needed because we need gh-pages branch for deploy to work
fetch-depth: 0
- uses: ruby/setup-ruby@v1.160.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'

Expand Down

0 comments on commit 9a3bfdf

Please sign in to comment.