ruby-changes:58746
From: Kazuhiro <ko1@a...>
Date: Tue, 12 Nov 2019 17:22:39 +0900 (JST)
Subject: [ruby-changes:58746] b41a19f92f (master): Add matrix.os to cache key (#2671)
https://git.ruby-lang.org/ruby.git/commit/?id=b41a19f92f From b41a19f92fdd9c8567e0650ceebb72386a96e395 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <znz@u...> Date: Tue, 12 Nov 2019 17:22:19 +0900 Subject: Add matrix.os to cache key (#2671) * Add matrix.os to cache key * Use multi-line string instead of array ref https://github.com/actions/cache/issues/44 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index abb3620..96bcbcb 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,8 +25,9 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L25 - uses: actions/cache@v1 with: path: C:\vcpkg\downloads - key: ${{ runner.os }}-vcpkg-download-${{ github.sha }} + key: ${{ runner.os }}-vcpkg-download-${{ matrix.os }}-${{ github.sha }} restore-keys: | + ${{ runner.os }}-vcpkg-download-${{ matrix.os }}- ${{ runner.os }}-vcpkg-download- - name: Install libraries with vcpkg run: | @@ -34,8 +35,9 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L35 - uses: actions/cache@v1 with: path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey - key: ${{ runner.os }}-chocolatey-${{ github.sha }} + key: ${{ runner.os }}-chocolatey-${{ matrix.os }}-${{ github.sha }} restore-keys: | + ${{ runner.os }}-chocolatey-${{ matrix.os }}- ${{ runner.os }}-chocolatey- - name: Install libraries with chocolatey run: | -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/