Skip to content

Commit

Permalink
debug: set git to ignore ownership issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasna committed Mar 25, 2024
1 parent 9b2c9e0 commit 5115e33
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/_20_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# env:
# NSC_CACHE_PATH: ${{ env.NSC_CACHE_PATH }} # env.NSC_CACHE_PATH contains the path to Cache Volume directory, that is `/cache`.
# volumes:
# - /cache:/cache # Where the Cache Volume is mounted.
# options: --cap-add=SYS_ADMIN # Required to by nscloud-cache-action to call `mount`.
env:
NSC_CACHE_PATH: ${{ env.NSC_CACHE_PATH }} # env.NSC_CACHE_PATH contains the path to Cache Volume directory, that is `/cache`.
volumes:
- /cache:/cache # Where the Cache Volume is mounted.
options: --cap-add=SYS_ADMIN # Required to by nscloud-cache-action to call `mount`.

steps:
- name: Checkout
Expand All @@ -46,8 +46,8 @@ jobs:
- name: Setup sccache
run: ./ci/scripts/install_sccache.sh $SCCACHE_VERSION

- run: echo $(whoami)
- run: ls -laR
- name: Configure Git
run: git config --global --add safe.directory '*'

- name: Build chainflip binaries
run: |
Expand Down Expand Up @@ -102,7 +102,6 @@ jobs:
run: ./ci/scripts/install_sccache.sh $SCCACHE_VERSION

- run: echo $(whoami)
- run: ls -laR

- name: Build chainflip binaries
run: |
Expand Down

0 comments on commit 5115e33

Please sign in to comment.