From 9c750418a2a4cd9a0af6a3cc8042902b1ae4bc07 Mon Sep 17 00:00:00 2001 From: Yu Xiang Zhang Date: Mon, 11 Mar 2024 21:57:46 +0000 Subject: [PATCH] Set cache permissions --- .github/actions/setup-build/action.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/actions/setup-build/action.yaml b/.github/actions/setup-build/action.yaml index 9add45c7be..94d87a26b9 100644 --- a/.github/actions/setup-build/action.yaml +++ b/.github/actions/setup-build/action.yaml @@ -10,6 +10,12 @@ runs: with: go-version: 1.21.x cache: false + - name: Set cache permissions + shell: bash + run: | + chmod -R 0755 \ + ~/go/pkg/mod \ + ~/.cache/go-build - name: Cache go-build and mod uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 #v4.0.0 with: