diff --git a/.github/workflows/build_mmvii.yml b/.github/workflows/build_mmvii.yml index d62a24bc3..2c08a267b 100644 --- a/.github/workflows/build_mmvii.yml +++ b/.github/workflows/build_mmvii.yml @@ -20,7 +20,7 @@ jobs: run: cmake -B build -DWITH_CCACHE=OFF -DCMAKE_BUILD_TYPE=Release -DWITH_QT5=ON - name: Cache mm3d build - id: cache-mm3d + id: cache-mm3d-linux uses: actions/cache@v3 with: path: | @@ -29,7 +29,7 @@ jobs: bin/mm3d key: ${{ runner.os }}-build-mm3d-${{ hashFiles('src/**/*.cpp','src/**/*.h','include/**/*.h','!src/util/GIT_defines.cpp') }} - - if: ${{ steps.cache-mm3d.outputs.cache-hit != 'true' }} + - if: ${{ steps.cache-mm3d-linux.outputs.cache-hit != 'true' }} name: Build elise.lib and mm3d run: make -C build install -j 4 @@ -65,16 +65,16 @@ jobs: run: cmake -B build -DWITH_CCACHE=OFF -DCMAKE_BUILD_TYPE=Release -DWITH_QT5=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}} - name: Cache mm3d build - id: cache-mm3d + id: cache-mm3d-windows uses: actions/cache@v3 with: path: | - lib/libelise.a - lib/libANN.a - bin/mm3d + lib/elise.lib + lib/ANN.lib + bin/mm3d.exe key: ${{ runner.os }}-build-mm3d-${{ hashFiles('src/**/*.cpp','src/**/*.h','include/**/*.h','!src/util/GIT_defines.cpp') }} - - if: ${{ steps.cache-mm3d.outputs.cache-hit != 'true' }} + - if: ${{ steps.cache-mm3d-windows.outputs.cache-hit != 'true' }} name: Build elise.lib and mm3d run: cmake --build build --config Release --target INSTALL -j 4