oppia / oppia-android

A free, online & offline learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
317 stars 519 forks source link

Investigate sharing shared workflow functionality across workflows/jobs in GitHub Actions #2692

Open BenHenning opened 3 years ago

BenHenning commented 3 years ago

For context: https://github.com/oppia/oppia-android/pull/1904#discussion_r535946585. Per https://github.blog/changelog/2020-08-07-github-actions-composite-run-steps/ there are ways to create custom actions that can be run in a GitHub Actions workflow to share functionality across jobs. We should investigate what this might look like & implement a sensible solution since after #1904 our workflows have become much longer & more complicated with lots of redundancy.

BenHenning commented 3 years ago

https://github.community/t/call-an-action-from-another-action/17524 apparently we can't compose other actions, only run workflows. :( This will substantially limit what can be shared across actions.