shaka-project / static-ffmpeg-binaries

Static binaries of FFmpeg, for multiple OS & CPU combinations, built from source in a GitHub Actions workflow.
https://github.com/joeyparrish/static-ffmpeg-binaries/releases
Apache License 2.0
11 stars 9 forks source link

ci: Enable debugging and self-hosted jobs through repo secrets #17

Closed joeyparrish closed 11 months ago

joeyparrish commented 1 year ago

Before this, forks would attempt to run a self-hosted job that would likely never be able to start. Now, this is disabled by default.

A fork can enable self-hosted jobs by hosting an appropriate runner and setting a repo secret called ENABLE_SELF_HOSTED. The official repo will have this setting enabled.

This also allows debugging via tmate to be enabled and disabled as needed via the repo secret ENABLE_DEBUG, without a commit to the repo.

joeyparrish commented 1 year ago

This is separate from #18, which is meant to fix the broken build. Please disregard the build failures on macOS and Windows here.