Skip to content

Commit

Permalink
Retry tlapm install on failure (#89)
Browse files Browse the repository at this point in the history
* Added retries for tlapm install
* Switch to using rm instead of find

Signed-off-by: Andrew Helwer <[email protected]>
  • Loading branch information
ahelwer authored Aug 24, 2023
1 parent 71ea3da commit e159c25
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,15 @@ jobs:
TLAPM_BIN="tlaps-1.5.0-$TLAPM_BIN_TYPE-inst.bin"
wget -nv https://github.com/tlaplus/tlapm/releases/download/$TLAPS_VERSION/$TLAPM_BIN
chmod +x $TLAPM_BIN
./$TLAPM_BIN -d deps/tlapm-install
# Workaround for https://github.com/tlaplus/tlapm/issues/88
for ((attempt = 1; attempt <= 5; attempt++)); do
rm -rf deps/tlapm-install
./$TLAPM_BIN -d deps/tlapm-install
if [ $? -eq 0 ]; then
exit 0
fi
done
exit 1
- name: Check manifest.json format
run: |
python $SCRIPT_DIR/check_manifest_schema.py \
Expand Down

0 comments on commit e159c25

Please sign in to comment.