File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 30
30
- `folder` (optional) : Folder where the docs are built. Defaults to `docs/html`.
31
31
- `config_file` (optional) : Path of the Doxygen configuration file. Defaults to `Doxyfile`.
32
32
- `target_folder` (optional) : Directory within the deployment branch to push to. Defaults to empty (root).
33
+ - `doxygen_version` (optional) : Version of Doxygen to install. Defaults to `1.9.6`. **NOTE - only works with 1.9.3 and higher versions**
33
34
34
35
# # Advanced Usage
35
36
54
55
branch: gh-pages
55
56
folder: docs/html
56
57
config_file: Doxyfile
58
+ doxygen_version: 1.9.6
57
59
` ` `
58
60
59
61
# # About this Action
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ inputs:
24
24
target_folder :
25
25
description : ' Directory on the deployment branch for pushing the build files'
26
26
required : false
27
+ doxygen_version :
28
+ description : ' Version of Doxygen to install'
29
+ required : false
30
+ default : " 1.9.6"
27
31
28
32
runs :
29
33
using : " composite"
33
37
with :
34
38
submodules : " true"
35
39
36
- - name : Install Doxygen
37
- run : sudo apt-get install doxygen graphviz -y
40
+ - name : Install dependencies
41
+ run : sudo apt-get update && sudo apt-get install -y wget graphviz
42
+ shell : bash
43
+
44
+ - name : Install Doxygen v${{ inputs.doxygen_version }}
45
+ run : |
46
+ transformed_version=$(echo "${{ inputs.doxygen_version }}" | tr '.' '_')
47
+ wget https://github.com/doxygen/doxygen/releases/download/Release_${transformed_version}/doxygen-${{ inputs.doxygen_version }}.linux.bin.tar.gz
48
+ tar -xzf doxygen-${{ inputs.doxygen_version }}.linux.bin.tar.gz
49
+ sudo mv doxygen-${{ inputs.doxygen_version }}/bin/doxygen /usr/local/bin/doxygen
38
50
shell : bash
39
51
40
52
- name : Generate Doxygen Documentation
You can’t perform that action at this time.
0 commit comments