From 2664983d8a457e0ad8e5755e41d9b7245993859a Mon Sep 17 00:00:00 2001 From: Fang He Date: Thu, 4 Apr 2024 14:29:46 +0800 Subject: [PATCH] trying to fix github actions 9 --- .github/actions/makepkg/entrypoint.sh | 4 ++-- .github/workflows/build.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/makepkg/entrypoint.sh b/.github/actions/makepkg/entrypoint.sh index 6c42d7f..6dc429b 100755 --- a/.github/actions/makepkg/entrypoint.sh +++ b/.github/actions/makepkg/entrypoint.sh @@ -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/ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e3a881..ada38a3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: