archlinux-package-action icon indicating copy to clipboard operation
archlinux-package-action copied to clipboard

Support PKGBUILD `install` file / Copy more files to working dir in `entrypoint.sh`

Open ndom91 opened this issue 2 years ago • 0 comments

When generating the .SRCINFO file (makepkg --printsrcinfo >.SRCINFO from entrypoint.sh), I'm getting the following error:

==> ERROR: install file (drata-agent.install) does not exist or is not a regular file.

This is the install= file from my PKGBUILD. I see that in the setup section toward the top of the entrypoint.sh it's only copying over the .git dir and the PKGBUILD file from the path that the user can pass in. Meaning that the install file from my PKGBUILD (drata-agent.install) is in fact missing from the ~/gh-action directory.

Can we copy the whole contents of that directory? Or specify additional files that should be copied over?

Notes

  • Repo: https://github.com/ndom91/drata-agent-aur
  • Erroring actions run: https://github.com/ndom91/drata-agent-aur/actions/runs/7249035402/job/19746188996

ndom91 avatar Dec 18 '23 14:12 ndom91