Skip to content

Commit 0687fc0

Browse files
authored
Enhance artifact upload/download in sync workflow (#307)
1 parent a32f2d8 commit 0687fc0

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/sync.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,14 @@ 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: |
121-
.tx/config
122-
potodo.md
123-
stats.json
124-
*.po
125-
**/*.po
123+
${{ env.PYDOC_LANG_DIR }}/.tx/config
124+
${{ env.PYDOC_LANG_DIR }}/potodo.md
125+
${{ env.PYDOC_LANG_DIR }}/stats.json
126+
${{ env.PYDOC_LANG_DIR }}/*.po
127+
${{ env.PYDOC_LANG_DIR }}/**/*.po
126128
127129
commit:
128130
runs-on: ubuntu-latest
@@ -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)