Skip to content

Commit

Permalink
Merge pull request #1305 from UncleGrumpy/fix_docs_workflows
Browse files Browse the repository at this point in the history
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.

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
  • Loading branch information
bettio committed Oct 4, 2024
2 parents 3c80b39 + f3aedce commit 0e3c9e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0e3c9e2

Please sign in to comment.