Skip to content

Commit 69ee6a6

Browse files
committed
Pin OTP to specific version for documentation workflows
Building and publishing documentation is failing again, let's try pinning to a specific OTP version known to be capable of building the documentation. Signed-off-by: Winford <winford@object.stream>
1 parent d349496 commit 69ee6a6

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.github/workflows/build-docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
# The type of runner that the job will run on
5454
runs-on: ${{ matrix.os }}
5555
# Documentation currently fails to build with OTP-27 and recent OTP-26.
56-
container: erlang:25
56+
container: erlang:26.0.2
5757

5858
# Steps represent a sequence of tasks that will be executed as part of the job
5959
steps:

.github/workflows/publish-docs.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,22 @@ jobs:
4444
os: [ ubuntu-24.04 ]
4545
# The type of runner that the job will run on
4646
runs-on: ${{ matrix.os }}
47+
container: erlang:26.0.2
4748

4849
# Steps represent a sequence of tasks that will be executed as part of the job
4950
steps:
5051
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5152

5253
- name: Install Deps
5354
run: |
54-
sudo apt update -y
55-
DEBIAN_FRONTEND=noninteractive sudo apt install -y git cmake doxygen graphviz python3-pip python3-virtualenv python3-setuptools python3-stemmer wget
55+
apt update -y
56+
DEBIAN_FRONTEND=noninteractive apt install -y git cmake doxygen graphviz python3-pip python3-virtualenv python3-setuptools python3-stemmer wget
5657
5758
- uses: actions/cache@v4
5859
id: sphinx-cache
5960
with:
6061
path: /home/runner/python-env/sphinx
61-
key: ${{ matrix.os }}-sphinx-install
62+
key: ${{ matrix.os }}-${{ job.container.id }}-sphinx-install
6263

6364
- name: Install Sphinx
6465
if: ${{ steps.sphinx-cache.outputs.cache-hit != 'true' }}
@@ -74,15 +75,6 @@ jobs:
7475
python3 -m pip install breathe
7576
python3 -m pip install pygments
7677
77-
- uses: erlef/setup-beam@v1
78-
with:
79-
otp-version: "25"
80-
elixir-version: "1.17"
81-
hexpm-mirrors: |
82-
https://builds.hex.pm
83-
https://repo.hex.pm
84-
https://cdn.jsdelivr.net/hex
85-
8678
- name: Install rebar3
8779
working-directory: /tmp
8880
run: |

0 commit comments

Comments
 (0)