We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7f015 commit 0dd15b2Copy full SHA for 0dd15b2
1 file changed
.github/workflows/main.yml
@@ -738,6 +738,23 @@ jobs:
738
LANG: en_US.UTF-8
739
TZ: UTC
740
steps:
741
+ - name: select termux mirror
742
+ run: |
743
+ for m in \
744
+ "https://termux.mentality.rip/termux-main" \
745
+ "https://ftp.agdsn.de/termux/termux-main" \
746
+ "https://linux.domainesia.com/applications/termux/termux-main"
747
+ do
748
+ echo "Trying mirror: $m"
749
+ printf "deb %s stable main\n" "$m" > "${PREFIX}/etc/apt/sources.list"
750
+ if /entrypoint.sh pkg update -y; then
751
+ echo "Selected mirror: $m"
752
+ exit 0
753
+ fi
754
+ done
755
+
756
+ echo "All mirrors failed"
757
+ exit 1
758
- name: prepare termux
759
run: |
760
ln -sf ${PREFIX}/etc/termux/mirrors/default ${PREFIX}/etc/termux/chosen_mirrors
0 commit comments