Skip to content

Commit

Permalink
Retry make getdeps 250 times.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed Apr 26, 2023
1 parent 4ab9a1c commit 39763bb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 39763bb

@MikuAuahDark
Copy link
Contributor Author

@MikuAuahDark MikuAuahDark commented on 39763bb May 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I probably have to revert this change in the future once it's no longer needed.

The issue is sometimes download link of FreeType 2.13.0 returns 404, causing the build to fail.

EDIT: Looks like 404 still observable here but got caught by this change, so I probably not gonna revert it anytime soon https://github.com/love2d/love/actions/runs/4870989537/jobs/8687404634

Please sign in to comment.