use curl's retry mechanism when getting the release

addresses #25
This commit is contained in:
nanos 2023-03-23 07:09:30 +00:00
parent e2b4addcfc
commit 6953672df4

View file

@ -13,7 +13,7 @@ jobs:
steps: steps:
- name: Get latest release - name: Get latest release
run: | 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 unzip -j download.zip
mkdir artifacts mkdir artifacts
ls -lR ls -lR