diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index f4ba043..c86b2ed 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -29,12 +29,12 @@ jobs: continue-on-error: ${{ matrix.os == 'macos-latest' }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-2019, macos-latest] include: - os: ubuntu-latest extension: .out compiler: g++ - - os: windows-latest + - os: windows-2019 extension: .exe compiler: mingw-g++ - os: macos-latest @@ -46,7 +46,7 @@ jobs: # Set up MSYS2 environment and install MinGW on Windows - name: Set up MSYS2 with MinGW - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.os == 'windows-2019' }} uses: msys2/setup-msys2@v2 with: update: true @@ -54,7 +54,7 @@ jobs: # Add MinGW to PATH on Windows - name: Add MinGW to PATH - if: ${{ matrix.os == 'windows-latest' }} + if: ${{ matrix.os == 'windows-2019' }} run: echo "C:/msys64/mingw64/bin" >> $GITHUB_PATH # Build step - uses appropriate compiler based on OS