ソースを参照

Merge pull request #6741 from qzhuyan/ci/william/mac-cache-otp-install

ci(mac): cache otp install only
William Yang 4 年 前
コミット
fa59141d6d

+ 2 - 2
.github/workflows/build_packages.yaml

@@ -152,8 +152,8 @@ jobs:
     - uses: actions/cache@v2
       id: cache
       with:
-        path: ~/.kerl
-        key: otp-${{ matrix.otp }}-${{ matrix.macos }}
+        path: ~/.kerl/${{ matrix.otp }}
+        key: otp-install-${{ matrix.otp }}-${{ matrix.macos }}
     - name: build erlang
       if: steps.cache.outputs.cache-hit != 'true'
       timeout-minutes: 60

+ 2 - 2
.github/workflows/build_slim_packages.yaml

@@ -105,8 +105,8 @@ jobs:
     - uses: actions/cache@v2
       id: cache
       with:
-        path: ~/.kerl
-        key: otp-${{ matrix.otp }}-${{ matrix.macos }}
+        path: ~/.kerl/${{ matrix.otp }}
+        key: otp-install-${{ matrix.otp }}-${{ matrix.macos }}
     - name: build erlang
       if: steps.cache.outputs.cache-hit != 'true'
       timeout-minutes: 60