Mercurial > octave
changeset 31485:8acc0fd58ba2 stable
GitHub-CI: Don't restore ccache from different "main" branch.
* .github/workflows/make.yaml: When branching, e.g., in a fork, use the ccache
from the correct "parent" branch if available.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 19 Nov 2022 17:17:33 +0100 |
parents | 864d29fb932b |
children | 07abf0487c8f 2ec625c04947 |
files | .github/workflows/make.yaml |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/make.yaml Tue Nov 15 12:25:40 2022 -0300 +++ b/.github/workflows/make.yaml Sat Nov 19 17:17:33 2022 +0100 @@ -85,7 +85,7 @@ key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} restore-keys: | ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }} - ccache:${{ matrix.os }}:${{ matrix.compiler }}:refs/heads/default + ccache:${{ matrix.os }}:${{ matrix.compiler }}:refs/heads/stable - name: configure ccache env: @@ -239,7 +239,7 @@ key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} restore-keys: | ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ github.ref }} - ccache:${{ matrix.os }}:${{ matrix.compiler }}:refs/heads/default + ccache:${{ matrix.os }}:${{ matrix.compiler }}:refs/heads/stable - name: configure ccache # The cache doesn't seem to compress well on macOS. Is it already compressed? @@ -468,7 +468,7 @@ key: ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} restore-keys: | ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }} - ccache:${{ matrix.os }}:${{ matrix.msystem }}:refs/heads/default + ccache:${{ matrix.os }}:${{ matrix.msystem }}:refs/heads/stable - name: configure ccache # Limit the maximum size and switch on compression to avoid exceeding the total disk or cache quota. @@ -707,7 +707,7 @@ key: ccache:${{ matrix.os }}:cygwin:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} restore-keys: | ccache:${{ matrix.os }}:cygwin:${{ github.ref }} - ccache:${{ matrix.os }}:cygwin:refs/heads/default + ccache:${{ matrix.os }}:cygwin:refs/heads/stable - name: configure ccache run: |