Skip to content

Commit 9feba16

Browse files
authored
Remove PO before adding, download to GITHUB_WORKSPACE
1 parent f1a1544 commit 9feba16

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/sync.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ jobs:
128128
uses: actions/checkout@v6
129129

130130
- name: Checkout this repository ${{ env.PYDOC_VERSION }}
131-
#if: ${{ contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) }}
132131
uses: actions/checkout@v6
133132
with:
134133
ref: ${{ env.PYDOC_VERSION }}
@@ -141,11 +140,13 @@ jobs:
141140
cache: 'pip'
142141
pip-install: -r requirements.txt
143142

143+
- name: Clean PO files
144+
run: find ${{ env.PYDOC_LANG_DIR }} -name '*.po' | xargs -r rm
145+
144146
- name: Download translation artifacts
145147
uses: actions/download-artifact@v8
146148
with:
147149
name: python-${{ env.PYDOC_VERSION }}
148-
path: ${{ env.PYDOC_LANG_DIR }}
149150

150151
- name: Commit
151152
run: ./scripts/commit.sh

0 commit comments

Comments
 (0)