Skip to content

Commit

Permalink
Add parallelism to makepkg in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
x0rzavi committed Sep 13, 2023
1 parent e46479b commit 6c6cbd9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/archiso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
- name: Checkout files
uses: actions/checkout@v4

- name: Edit pacman config
run: sed -i 's/#ParallelDownloads.*/ParallelDownloads = 20/' /etc/pacman.conf
- name: Edit pacman and makepkg config
run: |
sed -i 's|#ParallelDownloads.*|ParallelDownloads = 20|' /etc/pacman.conf
sed -i 's|#MAKEFLAGS.*|MAKEFLAGS="j4"|' /etc/makepkg.conf
- name: Init pacman keyring
run: pacman-key --init
Expand Down

0 comments on commit 6c6cbd9

Please sign in to comment.