Skip to content

Commit

Permalink
debug cache conda
Browse files Browse the repository at this point in the history
  • Loading branch information
nspope committed Oct 18, 2023
1 parent f87801e commit 5dc7721
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,25 @@ jobs:
- name: find conda
id: find-conda
run: |
echo "$CONDA"
echo "$name"
echo "name=CONDA::$CONDA" >> $GITHUB_OUTPUT
echo "$CONDA"
echo "$name"
- name: fix conda permissions
if: runner.os == 'macOS'
run: |
# Fix incorrect conda permissions on mac that prevent cache restore.
sudo chown -R $USER:staff $CONDA
- name: debugggg
run: |
echo "${{ steps.find-conda.outputs.CONDA }}/envs/${{ env.CONDA_ENV_NAME }}"
echo "${{ steps.find-conda.outputs.CONDA }}"
- name: cache conda
id: cache
uses: actions/cache@v3
env:
# Increase this to reset the cache if the key hasn't changed.
CACHE_NUM: 7777
CACHE_NUM: 7778
with:
path: |
${{ steps.find-conda.outputs.CONDA }}/envs/${{ env.CONDA_ENV_NAME }}
Expand Down

0 comments on commit 5dc7721

Please sign in to comment.