From 6953672df4091f3ee7bf7aa8bf6e13c02ba1299e Mon Sep 17 00:00:00 2001 From: nanos Date: Thu, 23 Mar 2023 07:09:30 +0000 Subject: [PATCH] use curl's retry mechanism when getting the release addresses #25 --- .github/workflows/get_context.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/get_context.yml b/.github/workflows/get_context.yml index 6dad729..10fbc08 100644 --- a/.github/workflows/get_context.yml +++ b/.github/workflows/get_context.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Get latest release run: | - curl -s https://api.github.com/repos/nanos/mastodon_get_replies/releases/latest | jq .zipball_url | xargs wget -O download.zip + curl --retry 20 -s https://api.github.com/repos/nanos/mastodon_get_replies/releases/latest | jq .zipball_url | xargs wget -O download.zip unzip -j download.zip mkdir artifacts ls -lR