Skip to content

Commit

Permalink
Permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
csasarak committed Aug 29, 2024
1 parent 674a81f commit 3688701
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ jobs:
with:
args: ./.github/workflows/scripts/compute_cache_key.sh ${{ runner.os }} ${{ matrix.project-file }}

# Cache permissions
- name: Update cache permissions
run: |
chmod -R u+rwx dist-newstyle
chown -R "$USER" dist-newstyle
# Build FOSSA CLI.
- uses: actions/cache@v4
name: Cache cabal store
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/scripts/compute_cache_key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ CABAL_CACHE_KEY="$(echo "$PLAN_SUM" | awk '{print $1}')"
export CABAL_CACHE_KEY
echo "Cabal cache key: $CABAL_CACHE_KEY"
echo "cabal-cache-key=$CABAL_CACHE_KEY" >> "$GITHUB_OUTPUT"
chmod -R o+w dist-newstyle

0 comments on commit 3688701

Please sign in to comment.