Commit 83f9df4e authored by Robert Edmonds's avatar Robert Edmonds

build.yml: Remove caching of Windows abseil/protobuf builds

Not sure why we want to cache and suppress the abseil/protobuf builds on
Windows since those are the things that break most often and we should
be alerted when they start breaking.
parent 2b253d12
...@@ -135,18 +135,7 @@ jobs: ...@@ -135,18 +135,7 @@ jobs:
- uses: ilammy/msvc-dev-cmd@v1 - uses: ilammy/msvc-dev-cmd@v1
with: with:
arch: amd64 arch: amd64
- uses: actions/cache@v4
id: protobuf-cache
with:
path: ~/protobuf-bin
key: ${{ env.PROTOBUF_VERSION }}-${{ matrix.shared-lib }}-${{ matrix.build-type}}
- uses: actions/cache@v4
id: abseil-cache
with:
path: ~/abseil-bin
key: ${{ env.ABSEIL_VERSION }}-${{ matrix.shared-lib }}-${{ matrix.build-type}}
- name: Build and install abseil - name: Build and install abseil
if: steps.abseil-cache.outputs.cache-hit != 'true'
run: | run: |
cd ~ cd ~
git clone --depth=1 https://github.com/abseil/abseil-cpp.git -b ${{ env.ABSEIL_VERSION }} abseil git clone --depth=1 https://github.com/abseil/abseil-cpp.git -b ${{ env.ABSEIL_VERSION }} abseil
...@@ -162,7 +151,6 @@ jobs: ...@@ -162,7 +151,6 @@ jobs:
cmake --build "build" -j4 cmake --build "build" -j4
cmake --build "build" --target install cmake --build "build" --target install
- name: Build and install protobuf - name: Build and install protobuf
if: steps.protobuf-cache.outputs.cache-hit != 'true'
run: | run: |
cd ~ cd ~
git clone --depth=1 https://github.com/protocolbuffers/protobuf.git -b ${{ env.PROTOBUF_VERSION }} protobuf git clone --depth=1 https://github.com/protocolbuffers/protobuf.git -b ${{ env.PROTOBUF_VERSION }} protobuf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment