From 96b4e572d692510e957b3092f3d06e77905f7128 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 6 May 2021 19:19:38 +0300 Subject: [PATCH] github actions: do not use option '-I' for build-package.sh Connections to apt repositories often stuck, cause builds to time out. As there no issues on repository side and connection problem is reproducible only on Github Actions instances, I can only assume that there is either a some bug in CI virtual machines setup or Github applies undocumented(?) limits on networking usage. Removing '-I' option will disable downloading of prebuilt dependencies and thus networking usage at cost of increased build times. --- .github/workflows/packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 820bdd7368..6758f58b61 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -115,7 +115,7 @@ jobs: if [ -f ./built_packages.txt ]; then ./scripts/lint-packages.sh $(cat ./built_packages.txt | awk '{print "packages/"$1"/build.sh"}') - ./scripts/run-docker.sh ./build-package.sh -a ${{ matrix.target_arch }} -I $(cat ./built_packages.txt) + ./scripts/run-docker.sh ./build-package.sh -a ${{ matrix.target_arch }} $(cat ./built_packages.txt) fi test -d ./termux-packages/debs && mv ./termux-packages/debs/* ./debs/