fix(actions): fix ccache on windows

Also removes some unnecessary dependencies for the generic Linux package

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
This commit is contained in:
DioEgizio 2022-07-11 08:13:02 +02:00 committed by GitHub
parent cd948dceae
commit b1805b70ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,9 @@ jobs:
uses: actions/cache@v3.0.2 uses: actions/cache@v3.0.2
with: with:
path: '${{ github.workspace }}\.ccache' path: '${{ github.workspace }}\.ccache'
key: ${{ matrix.os }}-${{ matrix.msystem }} key: ${{ matrix.os }}--qt${{ matrix.qt_ver }}
restore-keys: | restore-keys: |
${{ matrix.os }}-${{ matrix.msystem }} ${{ matrix.os }}--qt${{ matrix.qt_ver }}
- name: Set short version - name: Set short version
shell: bash shell: bash
@ -134,7 +134,7 @@ jobs:
- name: Install Qt (Linux) - name: Install Qt (Linux)
if: runner.os == 'Linux' && matrix.appimage != true if: runner.os == 'Linux' && matrix.appimage != true
run: | run: |
sudo apt-get -y install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5core5a libqt5network5 libqt5gui5 qt5-image-formats-plugins sudo apt-get -y install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5core5a libqt5network5 libqt5gui5
- name: Install Qt (macOS and AppImage) - name: Install Qt (macOS and AppImage)
if: matrix.qt_ver == 6 && runner.os != 'Windows' if: matrix.qt_ver == 6 && runner.os != 'Windows'