diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ade43f94b..ba1e3800c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,6 +97,7 @@ jobs: with: name: wrappers_ubuntu_${{ matrix.container_version }} path: generated_cpp + if-no-files-found: error oldschool: strategy: @@ -157,6 +158,8 @@ jobs: with: name: wrappers_${{ matrix.container_os }}-${{ matrix.container_os_version }}_${{ matrix.configuration }} path: generated_cpp + # comment in after #291 is fixed + # if-no-files-found: error macOS: strategy: @@ -243,10 +246,13 @@ jobs: QTDIR=-UNDEFINED- ./pythonqt_generator --qt-version=${{ steps.versions.outputs.QT_VERSION_FULL }} --include-paths=$QT_ROOT_DIR/lib - name: Upload Wrappers + if: ${{ contains(matrix.configuration, 'release') }} uses: actions/upload-artifact@v4 with: name: wrappers_macos${{ steps.versions.outputs.MACOS_VERSION_SHORT }}_qt${{ steps.versions.outputs.QT_VERSION_SHORT }} path: generated_cpp + # comment in after #276 is fixed + # if-no-files-found: error windows: strategy: @@ -358,3 +364,4 @@ jobs: with: name: wrappers_${{ matrix.qt-arch }}_${{ steps.versions.outputs.QT_VERSION_SHORT }} path: generated_cpp + if-no-files-found: error diff --git a/.github/workflows/build_latest.yml b/.github/workflows/build_latest.yml index 215ed0b51..39fdf7b9f 100644 --- a/.github/workflows/build_latest.yml +++ b/.github/workflows/build_latest.yml @@ -95,6 +95,7 @@ jobs: with: name: wrappers_${{ matrix.os }}_${{ steps.setenv.outputs.QT_VERSION_SHORT }} path: generated_cpp + if-no-files-found: error - name: Build PythonQt Ubuntu if: ${{ matrix.os == 'ubuntu' }}