File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 docfx-json-manifest :
1010 description : ' Path to the docfx JSON manifest file'
1111 required : true
12- assembly-version :
13- description : ' Assembly version to use for the generated metadata '
12+ output-directory :
13+ description : ' Target directory for generated documentation '
1414 required : true
1515# Optional
1616 dotnet_sdk_version :
3131 run : dotnet tool update -g docfx
3232 shell : bash
3333 - name : ' Generate documentation'
34- run : docfx metadata ${{ inputs.docfx-json-manifest }} --output ./api-reference/ ${{ inputs.assembly-version }}
34+ run : docfx metadata ${{ inputs.docfx-json-manifest }} --output ${{ inputs.output-directory }}
3535 shell : bash
3636 - name : Upload artifact
3737 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ jobs:
217217 artifact-name : ' assembly-metadata'
218218 docfx-json-manifest : ' ./api-reference/assembly-metadata.json'
219219 assembly-version : ${{ needs.versioning.outputs.friendly-version }}
220- target -directory : ' ./api-reference/${{ env.friendly-version }}/'
220+ output -directory : ' ./api-reference/${{ env.friendly-version }}/'
221221 - name : ' Push documentation to ${{ github.head_ref || github.ref }} branch'
222222 uses : ./.github/actions/push-changes
223223 with :
You can’t perform that action at this time.
0 commit comments