Skip to content

Commit

Permalink
das-node-55: Set permissions for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Nov 1, 2024
1 parent 8cf076b commit 3bb5aa0
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
- name: Build bazel
run: make cpp-build

- name: Give permissions
run: |-
sudo chmod 777 bazel_assets/ -R
sudo chmod 777 docker/volumes -R
- name: Set permissions for cached directories
run: |
sudo chmod -R 777 ./bazel_assets
sudo chmod -R 777 ./docker/volumes/
- name: Cache build and bazel_assets directories
uses: actions/cache@v3
Expand Down Expand Up @@ -82,6 +82,11 @@ jobs:
restore-keys: |
${{ runner.os }}-cpp-build-${{ github.sha }}
- name: Set permissions for cached directories
run: |
sudo chmod -R 777 ./bazel_assets
sudo chmod -R 777 ./docker/volumes/
- name: Run cpp tests
run: make cpp-test

Expand All @@ -102,6 +107,11 @@ jobs:
restore-keys: |
${{ runner.os }}-cpp-build-${{ github.sha }}
- name: Set permissions for cached directories
run: |
sudo chmod -R 777 ./bazel_assets
sudo chmod -R 777 ./docker/volumes/
- name: Build docker image
run: make wheeler-image

Expand Down Expand Up @@ -146,6 +156,11 @@ jobs:
restore-keys: |
${{ runner.os }}-cpp-build-${{ github.sha }}
- name: Set permissions for cached directories
run: |
sudo chmod -R 777 ./bazel_assets
sudo chmod -R 777 ./docker/volumes/
- name: Download wheeler artifacts
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 3bb5aa0

Please sign in to comment.