Browse Source

Add permissions for registry directory

Anuj Bansal 3 years ago
parent
commit
15e25a4a75
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/create-release.yml

+ 1 - 0
.github/workflows/create-release.yml

@@ -65,6 +65,7 @@ jobs:
         run: |
           export WORKSPACE_ROOT=`cargo metadata --offline --no-deps --format-version 1 | jq .workspace_root -r`
           sudo chmod a+w $WORKSPACE_ROOT
+          sudo chmod -R a+w $HOME/.cargo/registry
           ./scripts/raspberry-cross-build.sh
 
       - name: Tar the binary