Skip to contentSkip to conversation

ci: Refactor build into a custom GH action.

PATCH New Chris PeBenito 1 participant 1 message Jun 5 SELinux security module

lore
Share & tools
lore
#0 lore raw

cover ci: Refactor build into a custom GH action.

This patch set refactors the build step into a custom GH action. This allows other projects (refpolicy, setools, etc.) to reuse these steps in their CI pipelines.

Example run with this set:
https://github.com/pebenito/selinux/actions/runs/27028226461

For an example use, I've made this change in the SETools CI pipeline. Then the SETools build that is part of the refpolicy CI simply calls SETools's build action:

https://github.com/SELinuxProject/refpolicy/blob/28ee79d5c811c75fb5ebef9d2c566f58a7c53cc2/.github/workflows/build-setools.yml#L56-L64

--
Chris PeBenito