Retry make getdeps 250 times.

This commit is contained in:
Miku AuahDark
2023-04-26 22:18:53 +08:00
parent 4ab9a1ce8c
commit 39763bba2f
+10
View File
@@ -24,6 +24,16 @@ jobs:
uses: actions/checkout@v3
with:
path: love2d-${{ github.sha }}
- name: Get Dependencies for AppImage
shell: python
env:
LOVE_BRANCH: ${{ github.sha }}
run: |
import os
for i in range(250):
if os.system(f"make getdeps LOVE_BRANCH={os.environ['LOVE_BRANCH']}") == 0:
raise SystemExit(0)
raise Exception("make getdeps failed")
- name: Build AppImage
run: make LOVE_BRANCH=${{ github.sha }}
- name: Print LuaJIT branch