GitHub Actions to download Writebook and Campfire started failing on Sep. 20

david david posted on 2025-09-21 23:41:44 UTC

I've been using the approach described in Episode 464 ("Tracking Writebook Changes"; thanks for which, by the way!) successfully for both repos, for months now, but the actions have started failing consistently with this error:
unzip:  cannot find zipfile directory in one of download.zip or

        download.zip.zip, and cannot find download.zip.ZIP, period.

Archive:  download.zip

Error: Process completed with exit code 9.
I wondered if this could be related to 37signals having open-sourced Campfire, but I tried downloading to my laptop using the same auth.once.com download link and purchase token and it works just fine. Suggestions?

David Kimura PRO said 8 months ago :
That's really strange. Do you happen to use a self hosted runner for those actions? If so, check your disk space on the runner machine.

If you're using one of their hosted runners, it may be work looking into seeing if anything changed, or try bumping the checkout version to the latest one. You can also add some flags to cURL which could help as well. 

          curl -sS -L -f --retry 5 --retry-all-errors \
            -o download.zip \
            "https://auth.once.com/download/${PURCHASE_TOKEN}"

Typically when I encounter these kinds of issues, I'll put in extra action steps like this after the download and before the unzip.

      - name: List Files
        run: ls -lh

david said 8 months ago :
You're a gent, Dave! I don't know which of those flags did the trick (probably retry?), but my actions are succeeding again. Cheers!

Login to Comment
Back to forums