Skip to content

Commit

Permalink
ci: another try
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Oct 22, 2024
1 parent 0e39d9a commit 30aaa30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ jobs:
path: |
"${HOME}/.cabal/packages"
"${HOME}/.cabal/store"
"${PWD}/dist-newstyle"
"dist-newstyle"
key: ${{ steps.cache.outputs.cache-primary-key }}

# - name: Build
Expand All @@ -162,6 +161,10 @@ jobs:

- name: Build static binary
run: |
# "fatal: detected dubious ownership in repository at '/mnt'\nTo add
# an exception for this directory, call:\n\n\tgit config --global
# --add safe.directory /mnt\n"
git config --global --add safe.directory /mnt
docker run \
-v "${PWD}":/mnt/:ro \
-v "${HOME}/.cabal/packages":/root/.cache/cabal/packages \
Expand Down

0 comments on commit 30aaa30

Please sign in to comment.