From f3aedceef694aa348101881b5e4c0e9110ea4a20 Mon Sep 17 00:00:00 2001 From: Winford Date: Thu, 3 Oct 2024 19:12:45 -0700 Subject: [PATCH] Fix broken docs workflows `edown` is only tested up to OTP-25. It seems to work fine with OTP-26, but fails to parse many of our modules using OTP-27. This change reverts to OTP-26 until an update or alternative makes it possible to build with OTP-27. Signed-off-by: Winford --- .github/workflows/build-docs.yaml | 4 ++-- .github/workflows/publish-docs.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yaml index ecaf3e5ff..48eecc957 100644 --- a/.github/workflows/build-docs.yaml +++ b/.github/workflows/build-docs.yaml @@ -45,8 +45,8 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest - container: erlang:27 + runs-on: ubuntu-24.04 + container: erlang:26 # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index cde1c5242..7ad443d2e 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -36,7 +36,7 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 env: AVM_DOCS_NAME: ${{ github.ref_name }} @@ -72,7 +72,7 @@ jobs: - uses: erlef/setup-beam@v1 with: - otp-version: "27" + otp-version: "26" elixir-version: "1.17" hexpm-mirrors: | https://builds.hex.pm