KF2-SRV/.github/workflows/docker/entrypoint.sh

11 lines
299 B
Bash
Raw Normal View History

2020-08-10 11:11:30 +00:00
#!/bin/sh -l
make active && make builddep && make -j$(nproc) "$1"
RC=$?
echo "::set-output name=rpm_name::$(find /github/workspace/RPMS -type f -name '*.rpm' -printf '%f\n')"
echo "::set-output name=srpm_name::$(find /github/workspace/SRPMS -type f -name '*.src.rpm' -printf '%f\n')"
exit $RC