Skip to content

Commit cef379f

Browse files
authored
[FEATURE] add working dir option (#107)
Allow the workflows to use the new working-dir option
1 parent b0522e9 commit cef379f

File tree

3 files changed

+137
-9
lines changed

3 files changed

+137
-9
lines changed

action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ inputs:
77
required: false
88
default: null
99

10+
working-directory:
11+
description: 'Working directory'
12+
required: false
13+
default: './'
14+
1015
config:
1116
description: 'Configuration file location'
1217
default: 'Documentation'
@@ -19,6 +24,7 @@ runs:
1924
using: 'docker'
2025
image: 'docker://ghcr.io/typo3-documentation/render-guides:main'
2126
args:
27+
- '--working-dir=${{ inputs.working-directory }}'
2228
- '--config=${{ inputs.config }}'
2329
- '--output=${{ inputs.output }}'
2430
- '${{ inputs.input }}'

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"phpdocumentor/guides-graphs": "dev-main",
99
"phpdocumentor/guides-markdown": "dev-main",
1010
"phpdocumentor/guides-theme-bootstrap": "dev-main",
11+
"symfony/clock": "^6.3",
1112
"symfony/finder": "^6.3",
1213
"symfony/http-client": "^6.3"
1314
},

composer.lock

Lines changed: 130 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)