Skip to content

Commit 2dca71f

Browse files
🩹 [Refactor]: Update output paths in Build-Docs workflow to use input parameters for improved flexibility and consistency
1 parent 88426be commit 2dca71f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎.github/workflows/Build-Docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
uses: actions/download-artifact@v4
5959
with:
6060
name: module
61-
path: outputs/module
61+
path: ${{ inputs.Path }}/outputs/module
6262

6363
- name: Document module
6464
uses: PSModule/Document-PSModule@v1
@@ -74,7 +74,7 @@ jobs:
7474
uses: actions/upload-artifact@v4
7575
with:
7676
name: docs
77-
path: outputs/docs
77+
path: ${{ inputs.Path }}/outputs/docs
7878
if-no-files-found: error
7979
retention-days: 1
8080

@@ -101,7 +101,7 @@ jobs:
101101
env:
102102
FILTER_REGEX_INCLUDE: outputs/docs
103103
DEFAULT_BRANCH: main
104-
DEFAULT_WORKSPACE: ${{ github.workspace }}
104+
DEFAULT_WORKSPACE: ${{ inputs.Path }}
105105
ENABLE_GITHUB_ACTIONS_GROUP_TITLE: true
106106
GITHUB_TOKEN: ${{ github.token }}
107107
RUN_LOCAL: true

0 commit comments

Comments
 (0)