Skip to content

Commit 8fb1e8c

Browse files
authored
Enhance artifact upload/download in sync workflow
Added options to include hidden files and handle no files found in artifact upload and download steps.
1 parent 3167d0a commit 8fb1e8c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ jobs:
117117
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
118118
with:
119119
name: python-${{ env.PYDOC_VERSION }}
120+
include-hidden-files: true
121+
if-no-files-found: error
120122
path: |
121123
${{ env.PYDOC_LANG_DIR }}/.tx/config
122124
${{ env.PYDOC_LANG_DIR }}/potodo.md
@@ -165,6 +167,7 @@ jobs:
165167
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
166168
with:
167169
name: python-${{ env.PYDOC_VERSION }}
170+
path: ${{ env.PYDOC_LANG_DIR }}
168171

169172
# 3- Commit and push changed files depending on the event name
170173

0 commit comments

Comments
 (0)