Skip to content

Commit 3188adb

Browse files
committed
chore: make sure permission to run is granted
1 parent 0a75ea9 commit 3188adb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/testinfra-nix.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
- name: Clean up after AMI stage 1
9191
if: always() # Run even if previous steps fail
9292
run: |
93-
nix-collect-garbage -d # Delete old generations of all profiles
94-
rm -rf /tmp/* # Clean temporary files
93+
sudo nix-collect-garbage -d # Delete old generations of all profiles
94+
sudo rm -rf /tmp/* # Clean temporary files
9595
df -h / # Display available space
9696
9797
- name: Build AMI stage 2
@@ -103,8 +103,8 @@ jobs:
103103
- name: Clean up after AMI stage 2
104104
if: always() # Run even if previous steps fail
105105
run: |
106-
nix-collect-garbage -d # Delete old generations of all profiles
107-
rm -rf /tmp/* # Clean temporary files
106+
sudo nix-collect-garbage -d # Delete old generations of all profiles
107+
sudo rm -rf /tmp/* # Clean temporary files
108108
df -h / # Display available space
109109
110110
- name: Run tests

0 commit comments

Comments
 (0)