diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 0b9d773..ad9b3a9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -32,9 +32,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Create Python toolcache directory (macOS) + - name: Set up Python toolcache (macOS) if: matrix.platform == 'macos' - run: sudo mkdir -p /Users/runner && sudo chown $USER /Users/runner + run: | + mkdir -p ${{ github.workspace }}/.toolcache + echo "AGENT_TOOLSDIRECTORY=${{ github.workspace }}/.toolcache" >> $GITHUB_ENV - name: Set up Python uses: actions/setup-python@v5