Skip to content

Commit

Permalink
Merge branch 'fix-cicd' into wip-submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaltby committed Jan 16, 2025
2 parents 0c12992 + ed79d2e commit 79b3b8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get -y update
sudo apt-get -y install wine wine64 mono-devel
export PATH=$PATH:/usr/lib/wine
yarn make:win32
mkdir -p ./out/keep
mv ./out/make/zip/win32/ia32/*.zip ./out/keep/gb-studio-${CIRCLE_BRANCH}-windows_x86.zip
Expand All @@ -147,6 +148,7 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get -y update
sudo apt-get -y install wine wine64 mono-devel
export PATH=$PATH:/usr/lib/wine
yarn make:win
mkdir -p ./out/keep
mv ./out/make/zip/win32/x64/*.zip ./out/keep/gb-studio-${CIRCLE_BRANCH}-windows_x86_64.zip
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/fetchPatrons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ const fetchPatrons = async (): Promise<LatestPatrons> => {
});

if (res.links?.next) {
// Wait 3 seconds between API calls to prevent API limits being hit in CI/CD
await new Promise((resolve) => setTimeout(resolve, 3000));
await fetchPage(res.links.next);
}
};
Expand Down

0 comments on commit 79b3b8f

Please sign in to comment.