GeezerVison is showing github.com — Let the CI fail if no wrappers are generated · MeVisLab/pythonqt@e3e056b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/build.yml +5Lines changed: 5 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
97 | 97 | with: |
98 | 98 | name: wrappers_ubuntu_${{ matrix.container_version }} |
99 | 99 | path: generated_cpp |
| 100 | + if-no-files-found: error |
100 | 101 |
|
101 | 102 | oldschool: |
102 | 103 | strategy: |
@@ -157,6 +158,7 @@ jobs: |
157 | 158 | with: |
158 | 159 | name: wrappers_${{ matrix.container_os }}-${{ matrix.container_os_version }}_${{ matrix.configuration }} |
159 | 160 | path: generated_cpp |
| 161 | + if-no-files-found: error |
160 | 162 |
|
161 | 163 | macOS: |
162 | 164 | strategy: |
@@ -243,10 +245,12 @@ jobs: |
243 | 245 | QTDIR=-UNDEFINED- ./pythonqt_generator --qt-version=${{ steps.versions.outputs.QT_VERSION_FULL }} --include-paths=$QT_ROOT_DIR/lib |
244 | 246 |
|
245 | 247 | - name: Upload Wrappers |
| 248 | + if: ${{ contains(matrix.configuration, 'release') }} |
246 | 249 | uses: actions/upload-artifact@v4 |
247 | 250 | with: |
248 | 251 | name: wrappers_macos${{ steps.versions.outputs.MACOS_VERSION_SHORT }}_qt${{ steps.versions.outputs.QT_VERSION_SHORT }} |
249 | 252 | path: generated_cpp |
| 253 | + if-no-files-found: error |
250 | 254 |
|
251 | 255 | windows: |
252 | 256 | strategy: |
@@ -358,3 +362,4 @@ jobs: |
358 | 362 | with: |
359 | 363 | name: wrappers_${{ matrix.qt-arch }}_${{ steps.versions.outputs.QT_VERSION_SHORT }} |
360 | 364 | path: generated_cpp |
| 365 | + if-no-files-found: error |
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/build_latest.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
95 | 95 | with: |
96 | 96 | name: wrappers_${{ matrix.os }}_${{ steps.setenv.outputs.QT_VERSION_SHORT }} |
97 | 97 | path: generated_cpp |
| 98 | + if-no-files-found: error |
98 | 99 |
|
99 | 100 | - name: Build PythonQt Ubuntu |
100 | 101 | if: ${{ matrix.os == 'ubuntu' }} |
|