Skip to content

Commit

Permalink
ci: use action instead of sed
Browse files Browse the repository at this point in the history
  • Loading branch information
TendTo committed Nov 11, 2024
1 parent 3ea06be commit 1bd42cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ jobs:
- name: Install doxygen
uses: ssciwr/doxygen-install@v1
- name: Enable use of system doxygen by decommenting the module extension line
run: sed -i 's/# doxygen_extension.version(version = "0.0.0")/doxygen_extension.version(version = "0.0.0")/' MODULE.bazel
working-directory: examples
shell: bash
uses: jacobtomlinson/gha-find-replace@v3
with:
find: '# doxygen_extension.version(version = "0.0.0")'
replace: doxygen_extension.version(version = "0.0.0")
regex: false
include: examples/MODULE.bazel
- name: Build ${{ matrix.subdir }}
run: bazel build //${{ matrix.subdir }}:doxygen
working-directory: examples
Expand Down

0 comments on commit 1bd42cb

Please sign in to comment.