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: Fix ENABLE_DEBUG flag always interpreted as true #24

Closed joeyparrish closed 11 months ago

joeyparrish commented 11 months ago

When we process the flag through JS, then print it, it becomes "true" or "false". But we compared it to "".

The processing turns out to be necessary, since you can't refer to secrets directly when build.yaml is called from another workflow like test.yaml. So we just fix the condition to check for "true".