From 83975756ba656de5f32a62c6bc7a795c0446f9af Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Fri, 19 Jan 2024 16:57:10 -0500 Subject: [PATCH] fix cache permissions (#31084) * fix cache permissions * chown old-commit-hash: 18467c8383dbfbd08cfc3bd6534dce068991c9aa --- .github/workflows/auto-cache/action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-cache/action.yaml b/.github/workflows/auto-cache/action.yaml index ec929d3de2..173803f7f0 100644 --- a/.github/workflows/auto-cache/action.yaml +++ b/.github/workflows/auto-cache/action.yaml @@ -43,4 +43,7 @@ runs: # make the directory manually in case we didn't get a hit, so it doesn't fail on future steps - id: scons-cache-setup shell: bash - run: mkdir -p ${{ inputs.path }} + run: | + mkdir -p ${{ inputs.path }} + sudo chmod -R 777 ${{ inputs.path }} + sudo chown -R $USER ${{ inputs.path }} \ No newline at end of file