Skip to content

Commit 319f94a

Browse files
committed
Fix publish workflow
For an unknown reason mermaid-filter (or, really, one of its dependencies) no longer work properly on Ubuntu 22.04. Using 24.04 addresses the problem. While at it, we also no longer need to overwrite the puppeteer dependency as mermaid-filter has updated its mermaid-cli dependency. No new release has been published just yet, so keep using the `git clone` approach from 71d3b4e rather than installing a release. Fixes: #8555
1 parent 36b2335 commit 319f94a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/doxygen-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
check-doxygen:
99
# Note that the versions used for this `check-doxygen` job should be kept in
1010
# sync with the `publish` job.
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Fetch dependencies

.github/workflows/publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
publish:
77
# Note that the versions used for this `publish` job should be kept in sync
88
# with the `check-doxygen` job.
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010
steps:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
@@ -23,14 +23,14 @@ jobs:
2323
run: |
2424
git clone https://github.com/raghur/mermaid-filter/
2525
cd mermaid-filter
26-
sed -i '1s/{/{ "overrides": { "puppeteer": "^21" },/' package.json
27-
sed -i '1s/^\/\/ //' index.js
2826
npm install --loglevel verbose
2927
sudo npm link --loglevel verbose
3028
cd ..
3129
3230
- name: Build documentation
33-
run: cd doc/doxygen-root && make && touch html/.nojekyll
31+
run: |
32+
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
33+
cd doc/doxygen-root && make && touch html/.nojekyll
3434
3535
- name: Publish documentation
3636
if: ${{ github.event_name == 'push' && startsWith('refs/heads/develop', github.ref) }}

0 commit comments

Comments
 (0)