diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3c59dacbdded0..b87b7389ef02d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -806,7 +806,7 @@ jobs: - name: Build mysql-8.0 uses: ./.github/actions/build-libmysqlclient with: - configurationParameters: --enable-werror + configurationParameters: ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }} libmysql: mysql-8.0.37-linux-glibc2.28-x86_64.tar.xz withMysqli: ${{ inputs.libmysqlclient_with_mysqli }} - name: Test mysql-8.0 @@ -816,7 +816,7 @@ jobs: - name: Build mysql-8.4 uses: ./.github/actions/build-libmysqlclient with: - configurationParameters: --enable-werror + configurationParameters: ${{ !inputs.libmysqlclient_with_mysqli && '--enable-werror' || '' }} libmysql: mysql-8.4.0-linux-glibc2.28-x86_64.tar.xz withMysqli: ${{ inputs.libmysqlclient_with_mysqli }} - name: Test mysql-8.4