gazebo-tooling / action-gz-ci

MIT License
5 stars 4 forks source link

Add script hook before dependency compilation #57

Closed chapulina closed 2 years ago

chapulina commented 2 years ago

I tested in this PR: https://github.com/gazebosim/gz-garden/pull/10

I added a script to uninstall some apt packages and it ran correctly:

2022-05-09T19:53:55.7364123Z + '[' -f /github/workspace/.github/ci/before_dep_compilation.sh ']'
2022-05-09T19:53:55.7370038Z + echo ::group::Script before dependencies compilation from source
2022-05-09T19:53:55.7370732Z ##[group]Script before dependencies compilation from source
2022-05-09T19:53:55.7373820Z + '[' -f /github/workspace/.github/ci/before_dep_compilation.sh ']'
2022-05-09T19:53:55.7376174Z + . /github/workspace/.github/ci/before_dep_compilation.sh
2022-05-09T19:53:55.7377042Z ++ apt-get purge -y '.*ignition.*' '.*sdformat.*'