Skip to content

Commit 3dfe7a4

Browse files
committed
Fix extension validation in CI
1 parent a0a4b05 commit 3dfe7a4

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ jobs:
2626
- name: Run Tests in Blender
2727
run: blender -b -P tests/run.py -- -vv tests --cov --cov-report=xml
2828
- name: Build and validate extension
29+
shell: bash
2930
run: |
30-
mkdir -p build
31-
blender --factory-startup --command extension build --source-dir typst_importer --output-dir build
32-
blender --factory-startup --command extension validate build/*.zip
31+
blender -b -P build.py
32+
for archive in typst_importer-*.zip; do
33+
blender --factory-startup --command extension validate "$archive"
34+
done
3335
3436

3537

0 commit comments

Comments
 (0)