From b50ee232bbd1274e5af2f5cb7097f90ddcbdf2bc Mon Sep 17 00:00:00 2001 From: osbm Date: Tue, 16 Sep 2025 14:34:46 +0300 Subject: [PATCH] Why macos is so shitty --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b7c71f..de52ba2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,12 +44,16 @@ jobs: - name: Check if Attic endpoint is reachable id: check_attic run: | - if curl --connect-timeout 5 --silent --head http://wallfacer.curl-boga.ts.net:7080 | grep "200 OK"; then + if curl --connect-timeout 20 --silent --head http://wallfacer.curl-boga.ts.net:7080 | grep "200 OK"; then echo "reachable=true" >> $GITHUB_OUTPUT else echo "reachable=false" >> $GITHUB_OUTPUT fi + - name: Curl the cache + run: | + curl http://wallfacer.curl-boga.ts.net:7080/main/nix-cache-info + - name: Setup Attic cache if: steps.check_attic.outputs.reachable == 'true' uses: ryanccn/attic-action@v0.3.1