From efe3be1bd51ce847f4194239ee3a423135971cdf Mon Sep 17 00:00:00 2001 From: Sohrab Behdani Date: Wed, 10 Jul 2024 00:24:58 +0330 Subject: [PATCH] fixed workflow --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3cd221b..a0c8ebd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -24,6 +24,8 @@ jobs: - uses: actions/checkout@v3 - name: Install Packages via Pacman run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub github-cli reflector p7zip openssh sshpass rsync wget + - name: Change mirrors + run: reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist - name: Build image run: mkarchiso -v iso/ - name: remove last iso @@ -55,6 +57,8 @@ jobs: - uses: actions/checkout@v3 - name: Install Packages via Pacman run: pacman -Sy; pacman --noconfirm -S git archiso python python-pygithub github-cli reflector p7zip openssh sshpass rsync wget + - name: Change mirrors + run: reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist - name: Build image run: mkarchiso -v iso/ - name: remove last iso