Skip to content

Commit

Permalink
Add working directory for execution of doxygen (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
akovachev authored Apr 3, 2020
1 parent f879850 commit 97d2104
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ inputs:
description: 'Path to Doxyfile'
required: true
default: './Doxyfile'
working-directory:
description: 'Working directory'
required: true
default: '.'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.doxyfile-path }}
- ${{ inputs.working-directory }}
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ if [ ! -f $1 ]; then
echo "File $1 could not be found!"
fi

if [ ! -d $2 ]; then
echo "Path $2 could not be found!"
fi

cd $2
doxygen $1

0 comments on commit 97d2104

Please sign in to comment.