workflows/cachix: some more advanced waiting

i hope this works i have no idea why git-crypt does this it also happens
on local computers sometimes jalsdfjasoigrjoi
This commit is contained in:
LavaDesu 2025-05-23 01:31:42 +10:00
parent 3f52fc1e81
commit fe8d26a860
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 13 additions and 1 deletions

View file

@ -18,7 +18,17 @@ jobs:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
- name: Wait..
run:
sleep 20;
for s in {1..10}; do
nix eval .#checks.x86_64-linux.is_dirty;
if [ $? -eq 0 ]; then
break;
else
if [ $s -eq 10 ]; then
exit 1
fi
sleep 5;
fi
done
- uses: cachix/install-nix-action@v31
- uses: cachix/cachix-action@v14
with: