CI: use PKG_SOURCE instead of PKG_NAME
authorPaul Spooren <mail@aparcar.org>
Thu, 1 Oct 2020 18:58:29 +0000 (08:58 -1000)
committerPaul Spooren <mail@aparcar.org>
Fri, 2 Oct 2020 09:39:04 +0000 (23:39 -1000)
commit014e02ab075333bccd6ac5f3c8eaceba6ab41157
tree836e64ddcdfa881ace90f0c36444adcaa4244d3c
parentc05e92a58d84c20750f2974da6a89e872d1a1041
CI: use PKG_SOURCE instead of PKG_NAME

The PKG_NAME is the installable name of a package while PKG_SOURCE is
the folder containig both `Makefile` and possibliy `test.sh`

This approach previously worked for packages where both NAME and SOURCE
are the same, e.g. `vim`, however fore more complex packages like
`mariadb` (SOURCE) the NAMES are partly
*mariadb-server-plugin-handlersocket*, which is no existing folder.

With this commit the `PKG_SOURCE` is used to find the `test.sh` script.

Signed-off-by: Paul Spooren <mail@aparcar.org>
.github/workflows/entrypoint.sh