Glen 7 months ago
parent
commit
ce2ccddc93
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/build_and_test.yml

+ 5 - 1
.github/workflows/build_and_test.yml

@@ -23,6 +23,11 @@ jobs:
     steps:
       - uses: actions/checkout@v4
 
+      - name: Create Python directories
+        run: |
+          sudo mkdir -p /Users/runner/hostedtoolcache
+          sudo chown -R $USER:staff /Users/runner/hostedtoolcache
+
       - name: Set up Python
         uses: actions/setup-python@v5
         with:
@@ -31,7 +36,6 @@ jobs:
           cache-dependency-path: |
             setup.py
             pyproject.toml
-          cache-dependency-path: ${{ github.workspace }}/.cache/python
 
       - name: Install dependencies
         run: |