From 77a6fa60e221a261bd441f9554e0820e70695832 Mon Sep 17 00:00:00 2001 From: Sohrab Behdani Date: Wed, 10 Jul 2024 00:24:46 +0330 Subject: [PATCH] fixed workflow --- .github/workflows/build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 605ed4d..802775b 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 @@ -54,7 +56,9 @@ jobs: steps: - 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 + 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