Skip to content

Commit

Permalink
trying to fix github actions 10
Browse files Browse the repository at this point in the history
  • Loading branch information
h3fang committed Apr 4, 2024
1 parent 2664983 commit d41f941
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/makepkg/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -eu

sudo sed -i '/^CFLAGS=/ s/-march=x86-64 -mtune=generic/-march='"${INPUT_ARCH}"'/' /etc/makepkg.conf
sudo sed -i '/^options=(/ s/\bdebug\b/!debug/' /etc/makepkg.conf
sudo sed -i '/^PKGEXT=/ s/^.*$/PKGEXT=".pkg.tar.zst"/' /etc/makepkg.conf
sudo sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGS="-j$(nproc)"/' /etc/makepkg.conf

sudo chown -R builder /github/workspace /github/home
Expand Down

0 comments on commit d41f941

Please sign in to comment.