diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c31692ffd..3d7fd1d3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,22 +24,18 @@ jobs: cache: 'npm' # linux dependencies - - run: sudo apt update - if: matrix.os == 'ubuntu-latest' - - run: sudo apt install -y wine64 - if: matrix.os == 'ubuntu-latest' + - run: sudo apt update && sudo apt install -y wine64 + if: matrix.os == 'ubuntu-latest' && matrix.node-version == '14' - run: wine --version - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-latest' && matrix.node-version == '14' - run: sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update -q && sudo apt-get install -y git if: matrix.os == 'ubuntu-latest' && matrix.node-version == '*' # macos dependencies # required for electron-packager -# - run: brew update -# if: matrix.os == 'macos-latest' -# - run: brew cask install xquartz wine-stable -# if: matrix.os == 'macos-latest' +# - run: brew update && brew cask install xquartz wine-stable +# if: matrix.os == 'macos-latest' && matrix.node-version == '14' # - run: wine64 --version -# if: matrix.os == 'macos-latest' +# if: matrix.os == 'macos-latest' && matrix.node-version == '14' - run: brew reinstall git if: matrix.os == 'macos-latest' && matrix.node-version == '*' # windows dependencies