feat: auto generate arch repo list

generate test


GitHub Actions build:

add date
This commit is contained in:
Daniel Gibbs 2022-11-16 15:02:01 +00:00
parent 2a5e2f52fc
commit d45dff333c
No known key found for this signature in database
GPG Key ID: 4D812BAB6228BBA6
2 changed files with 49 additions and 19 deletions

View File

@ -0,0 +1,31 @@
name: "Generate Arch Mirror List"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
generate_arch_mirrors:
runs-on: ubuntu-latest
name: Generate Arch Mirror List
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Generate Arch Mirror List
id: generate
run: curl -L https://www.archlinux.org/mirrorlist/all/http | grep -oP 'https?://\K[^/]*' | sort -u >arch.txt
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Push to master branch
uses: Automattic/action-commit-to-branch@master
with:
branch: "master"
commit_message: "GitHub Actions build: ${{ steps.date.outputs.date }}"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

View File

@ -1,4 +1,3 @@
# Sorted lexicographically in ascending order
arch.hu.fo arch.hu.fo
arch.jensgutermuth.de arch.jensgutermuth.de
arch.kyberorg.fi arch.kyberorg.fi
@ -64,7 +63,7 @@ archlinux.zepto.cloud
archmirror.hbit.sztaki.hu archmirror.hbit.sztaki.hu
archmirror1.octyl.net archmirror1.octyl.net
arlm.tyzoid.com arlm.tyzoid.com
artfiles.orglinux.org artfiles.org
br.mirror.archlinux-br.org br.mirror.archlinux-br.org
ca.us.mirror.archlinux-br.org ca.us.mirror.archlinux-br.org
codingflyboy.mm.fcix.net codingflyboy.mm.fcix.net
@ -76,18 +75,18 @@ f.archlinuxvn.org
fastmirror.pp.ua fastmirror.pp.ua
forksystems.mm.fcix.net forksystems.mm.fcix.net
free.nchc.org.tw free.nchc.org.tw
ftp-stud.hs-esslingen.des ftp-stud.hs-esslingen.de
ftp.acc.umu.se ftp.acc.umu.se
ftp.agdsn.des ftp.agdsn.de
ftp.byfly.by ftp.byfly.by
ftp.cc.uoc.grs ftp.cc.uoc.gr
ftp.ek-cer.hus ftp.ek-cer.hu
ftp.fau.de ftp.fau.de
ftp.fi.muni.cz ftp.fi.muni.cz
ftp.gwdg.de ftp.gwdg.de
ftp.halifax.rwth-aachen.de ftp.halifax.rwth-aachen.de
ftp.harukasan.org ftp.harukasan.org
ftp.heanet.ies ftp.heanet.ie
ftp.hosteurope.de ftp.hosteurope.de
ftp.icm.edu.pl ftp.icm.edu.pl
ftp.iinet.net.au ftp.iinet.net.au
@ -106,7 +105,7 @@ ftp.rediris.es
ftp.rnl.tecnico.ulisboa.pt ftp.rnl.tecnico.ulisboa.pt
ftp.sh.cvut.cz ftp.sh.cvut.cz
ftp.snt.utwente.nl ftp.snt.utwente.nl
ftp.spline.inf.fu-berlin.des ftp.spline.inf.fu-berlin.de
ftp.sudhip.com ftp.sudhip.com
ftp.swin.edu.au ftp.swin.edu.au
ftp.tku.edu.tw ftp.tku.edu.tw
@ -151,7 +150,7 @@ mirror.archlinux.cl
mirror.archlinux.ikoula.com mirror.archlinux.ikoula.com
mirror.archlinux.no mirror.archlinux.no
mirror.archlinux.tw mirror.archlinux.tw
mirror.arctic.lolMirror mirror.arctic.lol
mirror.arizona.edu mirror.arizona.edu
mirror.arvancloud.com mirror.arvancloud.com
mirror.bardia.tech mirror.bardia.tech
@ -208,7 +207,7 @@ mirror.ihost.md
mirror.informatik.tu-freiberg.de mirror.informatik.tu-freiberg.de
mirror.init7.net mirror.init7.net
mirror.internode.on.net mirror.internode.on.net
mirror.is.co.zalinux.org mirror.is.co.za
mirror.isoc.org.il mirror.isoc.org.il
mirror.its.dal.ca mirror.its.dal.ca
mirror.jingk.ai mirror.jingk.ai
@ -247,7 +246,7 @@ mirror.neuf.no
mirror.nw-sys.ru mirror.nw-sys.ru
mirror.oldsql.cc mirror.oldsql.cc
mirror.one.com mirror.one.com
mirror.onet.pls mirror.onet.pl
mirror.onevip.mk mirror.onevip.mk
mirror.orbit-os.com mirror.orbit-os.com
mirror.pagenotfound.de mirror.pagenotfound.de
@ -337,7 +336,7 @@ mirrors.kernel.org
mirrors.liquidweb.com mirrors.liquidweb.com
mirrors.lug.mtu.edu mirrors.lug.mtu.edu
mirrors.m247.ro mirrors.m247.ro
mirrors.manchester.m247.com-linux mirrors.manchester.m247.com
mirrors.melbourne.co.uk mirrors.melbourne.co.uk
mirrors.mit.edu mirrors.mit.edu
mirrors.myaegean.gr mirrors.myaegean.gr
@ -349,10 +348,10 @@ mirrors.nic.cz
mirrors.nix.org.ua mirrors.nix.org.ua
mirrors.niyawe.de mirrors.niyawe.de
mirrors.nju.edu.cn mirrors.nju.edu.cn
mirrors.nxtgen.comlinux-mirror mirrors.nxtgen.com
mirrors.nxthost.com mirrors.nxthost.com
mirrors.ocf.berkeley.edu mirrors.ocf.berkeley.edu
mirrors.piconets.webwerks.inlinux-mirror mirrors.piconets.webwerks.in
mirrors.pidginhost.com mirrors.pidginhost.com
mirrors.powernet.com.ru mirrors.powernet.com.ru
mirrors.prometeus.net mirrors.prometeus.net
@ -381,16 +380,16 @@ mirrors.xtom.nl
mirrors.zju.edu.cn mirrors.zju.edu.cn
mnvoip.mm.fcix.net mnvoip.mm.fcix.net
muug.ca muug.ca
nova.quantum-mirror.hus nova.quantum-mirror.hu
ord.mirror.rackspace.com ord.mirror.rackspace.com
os.codefionn.eu os.codefionn.eu
ossmirror.mycloud.services ossmirror.mycloud.services
packages.oth-regensburg.de packages.oth-regensburg.de
phinau.de phinau.de
piotrkosoft.nets piotrkosoft.net
pkg.adfinis.com pkg.adfinis.com
plug-mirror.rcac.purdue.edu plug-mirror.rcac.purdue.edu
quantum-mirror.hus quantum-mirror.hu
repo.endpoint.ml repo.endpoint.ml
repo.ialab.dsu.edu repo.ialab.dsu.edu
repo.inara.pk repo.inara.pk
@ -398,7 +397,7 @@ repo.iut.ac.ir
repo.miserver.it.umich.edu repo.miserver.it.umich.edu
repo.skni.umcs.pl repo.skni.umcs.pl
ridgewireless.mm.fcix.net ridgewireless.mm.fcix.net
super.quantum-mirror.hus super.quantum-mirror.hu
suro.ubaya.ac.id suro.ubaya.ac.id
syd.mirror.rackspace.com syd.mirror.rackspace.com
tux.rainside.sk tux.rainside.sk
@ -410,4 +409,4 @@ www.gtlib.gatech.edu
www.gutscheindrache.com www.gutscheindrache.com
www.mirrorservice.org www.mirrorservice.org
za.mirror.archlinux-br.org za.mirror.archlinux-br.org
ziply.mm.fcix.net ziply.mm.fcix.net