diff --git a/.github/workflows/check-supported-versions.yaml b/.github/workflows/check-supported-versions.yaml index 1871c7ea6a0..0fa05d485eb 100644 --- a/.github/workflows/check-supported-versions.yaml +++ b/.github/workflows/check-supported-versions.yaml @@ -54,7 +54,7 @@ jobs: - name: Upload Maven build artifact uses: actions/upload-artifact@v1 - if: matrix.java == '8' + if: matrix.java == '8' && matrix.os == 'ubuntu-latest' with: name: artifact path: modules/openapi-generator-cli/target/openapi-generator-cli.jar