diff options
author | TheLastRar <TheLastRar@users.noreply.github.com> | 2022-10-29 16:29:17 +0100 |
---|---|---|
committer | TheLastRar <TheLastRar@users.noreply.github.com> | 2023-02-01 20:13:26 +0000 |
commit | 1a609612f2b5123a62c88977d1345661ae8eac44 (patch) | |
tree | 5ce817b5091430af262c044741273761c9758f44 | |
parent | 121a7a9e23ffbaaecceeafd7186da420b5dfad7e (diff) | |
download | PrismLauncher-1a609612f2b5123a62c88977d1345661ae8eac44.tar.gz PrismLauncher-1a609612f2b5123a62c88977d1345661ae8eac44.tar.bz2 PrismLauncher-1a609612f2b5123a62c88977d1345661ae8eac44.zip |
CI: Move mingw restore cache before setup ccache
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
-rw-r--r-- | .github/workflows/build.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ea02ea5..ec1a06ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,6 +149,15 @@ jobs: with: key: ${{ matrix.os }}-qt${{ matrix.qt_ver }}-${{ matrix.architecture }} + - name: Retrieve ccache cache (Windows MinGW-w64) + if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug' + uses: actions/cache@v3.2.4 + with: + path: '${{ github.workspace }}\.ccache' + key: ${{ matrix.os }}-mingw-w64 + restore-keys: | + ${{ matrix.os }}-mingw-w64 + - name: Setup ccache (Windows MinGW-w64) if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug' shell: msys2 {0} @@ -165,15 +174,6 @@ jobs: run: | echo "CCACHE_VAR=ccache" >> $GITHUB_ENV - - name: Retrieve ccache cache (Windows MinGW-w64) - if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug' - uses: actions/cache@v3.2.4 - with: - path: '${{ github.workspace }}\.ccache' - key: ${{ matrix.os }}-mingw-w64 - restore-keys: | - ${{ matrix.os }}-mingw-w64 - - name: Set short version shell: bash run: | |