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:
parent
3f52fc1e81
commit
fe8d26a860
2 changed files with 13 additions and 1 deletions
12
.github/workflows/cachix.yml
vendored
12
.github/workflows/cachix.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue