Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 729d718

Browse files
Added install-doxygen action
1 parent 6594f46 commit 729d718

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,15 @@ Example:
200200
uses: DiligentGraphics/github-action/clean-disk-ubuntu@master
201201
preserve-android-ndk: 27.0.12077973
202202
```
203+
204+
205+
## install-doxygen
206+
207+
Installs Doxygen.
208+
209+
Example:
210+
211+
```yml
212+
- name: Install Doxygen
213+
uses: DiligentGraphics/github-action/install-doxygen@master
214+
```

install-doxygen/action.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "DiligentGraphics: Install Doxygen"
2+
description: "Downloads and installs Doxygen"
3+
4+
inputs:
5+
version:
6+
description: Doxygen version to install
7+
required: false
8+
default: '1.13.2'
9+
10+
runs:
11+
using: "composite" # must be set to "composite"
12+
steps:
13+
- name: Download Doxygen
14+
shell: bash
15+
run: |
16+
# Download and install Doxygen
17+
DOXYGEN_VERSION=${{ inputs.version }}
18+
wget https://doxygen.nl/files/doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz
19+
tar -xzf doxygen-$DOXYGEN_VERSION.linux.bin.tar.gz
20+
sudo cp -r doxygen-$DOXYGEN_VERSION/bin/* /usr/local/bin/
21+
rm -rf doxygen-$DOXYGEN_VERSION*
22+
doxygen --version

0 commit comments

Comments
 (0)