Skip to content

Commit

Permalink
trying to fix github actions 9
Browse files Browse the repository at this point in the history
  • Loading branch information
h3fang committed Apr 4, 2024
1 parent 0ba35f1 commit 2664983
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/actions/makepkg/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ sudo sed -i '/^options=(/ s/\bdebug\b/!debug/' /etc/makepkg.conf
sudo sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGS="-j$(nproc)"/' /etc/makepkg.conf

sudo chown -R builder /github/workspace /github/home
sudo mkdir -p /pkgs/
mkdir -p /home/builder/pkgs

cd "${INPUT_PKG}"
echo "Running makepkg with $PWD/PKGBUILD"
makepkg -fs --noconfirm
sudo mv -- *.pkg.tar.zst /pkgs/
mv -- *.pkg.tar.zst /home/builder/pkgs/
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Archive packages
uses: actions/upload-artifact@v4
with:
path: /pkgs
path: /home/builder/pkgs
release:
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 2664983

Please sign in to comment.