Skip to content

Commit b23bb1c

Browse files
committed
fix: Debug build
1 parent a360278 commit b23bb1c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ jobs:
259259
- name: Install wheel for testing
260260
run: |
261261
.\venv\Scripts\activate
262-
pip install dist\c2pa_python-*.whl
262+
$wheel = Get-ChildItem -Path dist -Filter "c2pa_python-*.whl" | Select-Object -First 1
263+
if (-not $wheel) { Write-Error "No wheel file found in dist directory"; exit 1 }
264+
pip install $wheel.FullName
263265
264266
- name: Run unittest tests on installed wheel
265267
run: |
@@ -446,7 +448,7 @@ jobs:
446448
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true'
447449
runs-on: ubuntu-latest
448450
environment: pypipublish
449-
needs: [build-linux-wheel, sdist]
451+
needs: [test-built-linux-wheel, test-built-macos_x86-wheel, test-built-macos_aarch64-wheel, test-built-windows-wheel, sdist]
450452
permissions:
451453
id-token: write
452454
contents: read

0 commit comments

Comments
 (0)