diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 537849cf5d..79bf8f7aa3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,13 +82,13 @@ jobs: with: python-version: 3.7 architecture: ${{ matrix.platform.python-architecture }} - if: runner.os == 'Windows' && ${{ matrix.python-version }} == "3.7.16" + if: ${{ runner.os == 'Windows' && matrix.python-version == "3.7.16" }} - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} architecture: ${{ matrix.platform.python-architecture }} - if: runner.os == 'Windows' && ${{ matrix.python-version }} != '3.7.16' + if: ${{ runner.os == 'Windows' && matrix.python-version != '3.7.16' }} - name: Install Rust toolchain uses: dtolnay/rust-toolchain@master