Skip to content

Commit f7111dd

Browse files
committed
fix; conditional check
1 parent 74b6793 commit f7111dd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build-wheel.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ jobs:
4141
run: |
4242
mkdir -p artifacts
4343
mkdir -p src/c2pa/libs
44-
rm -rf dist/* build/*
44+
if [ "$RUNNER_OS" = "Windows" ]; then
45+
if (Test-Path dist) { Remove-Item -Recurse -Force dist }
46+
if (Test-Path build) { Remove-Item -Recurse -Force build }
47+
else
48+
rm -rf dist/* build/*
49+
fi
4550
- name: Download native artifacts (from tag c2pa-v0.55.0)
4651
run: python3 scripts/download_artifacts.py c2pa-v0.55.0
4752
- name: Build wheel

0 commit comments

Comments
 (0)