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

+ 2 - 2
.github/workflows/build_and_test.yml

@@ -25,8 +25,8 @@ jobs:
 
       - name: Create Python directories
         run: |
-          sudo mkdir -p /Users/runner/hostedtoolcache
-          sudo chown -R $USER:staff /Users/runner/hostedtoolcache
+          mkdir -p ${{ github.workspace }}/pythontools
+          echo "RUNNER_TOOL_CACHE=${{ github.workspace }}/pythontools" >> $GITHUB_ENV
 
       - name: Set up Python
         uses: actions/setup-python@v5