diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0436ff69..b40b9931 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,17 +40,17 @@ jobs: sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libxcb1-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev - uses: actions/cache@v2 + # FIXME: Caching `target/` causes the Windows runner to blow up after some time + if: startsWith(matrix.os, 'windows') with: - # FIXME: Caching `target/` causes the Windows runner to blow up after some time - if: startsWith(matrix.os, 'windows') path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ key: ${{ matrix.name }}-${{ matrix.cross-target }} - uses: actions/cache@v2 + if: "!startsWith(matrix.os, 'windows')" with: - if: "!startsWith(matrix.os, 'windows')" path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3a5ecc66..daa5e01a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,17 +26,17 @@ jobs: sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libxcb1-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev - uses: actions/cache@v2 + # FIXME: Caching `target/` causes the Windows runner to blow up after some time + if: startsWith(matrix.os, 'windows') with: - # FIXME: Caching `target/` causes the Windows runner to blow up after some time - if: startsWith(matrix.os, 'windows') path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ key: ${{ matrix.name }}-${{ matrix.cross-target }} - uses: actions/cache@v2 + if: "!startsWith(matrix.os, 'windows')" with: - if: "!startsWith(matrix.os, 'windows')" path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 848a8119..d8b36902 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,17 +37,17 @@ jobs: sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libxcb1-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev - uses: actions/cache@v2 + # FIXME: Caching `target/` causes the Windows runner to blow up after some time + if: startsWith(matrix.os, 'windows') with: - # FIXME: Caching `target/` causes the Windows runner to blow up after some time - if: startsWith(matrix.os, 'windows') path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ key: ${{ matrix.name }}-${{ matrix.cross-target }} - uses: actions/cache@v2 + if: "!startsWith(matrix.os, 'windows')" with: - if: "!startsWith(matrix.os, 'windows')" path: | ~/.cargo/registry/index/ ~/.cargo/registry/cache/