Skip to content

Commit

Permalink
Only need to hash .gitrepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrclary authored Jul 21, 2023
1 parent d263fd2 commit 8b38c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/installers-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/installers-conda/dist
key: ${{ env.pkg }}_${{ hashFiles(format('external-deps/{0}/**', env.pkg)) }}
key: ${{ env.pkg }}_${{ hashFiles(format('external-deps/{0}/.gitrepo', env.pkg)) }}

- name: Build ${{ matrix.pkg }} Conda Package
if: steps.cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
uses: actions/cache/restore@v3
with:
path: ${{ env.CONDA_BLD_PATH }}
key: ${{ matrix.target-platform }}-${{ matrix.python-version }}-${{ env.commit }}
key: spyder-kernels_${{ matrix.target-platform }}_${{ matrix.python-version }}_${{ hashFiles('external-deps/spyder-kernels/.gitrepo') }}

- name: Build ${{ matrix.target-platform }} spyder-kernels Conda Package
if: env.IS_STANDARD_PR == 'true' && steps.cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 8b38c93

Please sign in to comment.