feat: supertonic TTS shared workflow + daily-news voice artifact#39164
feat: supertonic TTS shared workflow + daily-news voice artifact#39164Copilot wants to merge 4 commits into
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…rl escaping Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
|
Hey One thing that would strengthen this before it leaves draft:
If you'd like a hand, assign this prompt to your coding agent:
|
|
@copilot store downloaded model in an actions/cache |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Add actions/cache/restore before server start and actions/cache/save after server is ready. Cache key is keyed by runner OS and installed package version (~/.cache/supertonic3/) so subsequent runs skip the ~400 MB model download from HuggingFace. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done. Two new steps added to
The install step now also writes the package version to |
Wraps the supertone-inc/supertonic-py on-device TTS SDK as a reusable shared workflow and wires it into
daily-newsto produce a spoken digest uploaded as a run artifact.shared/supertonic.md(new)supertonic[serve], starts HTTP server on127.0.0.1:7788, polls readiness up to 3 min (first run downloads ~400 MB model from HuggingFace)actions/cachestores~/.cache/supertonic3/keyed by runner OS and package version — subsequent runs skip the ~400 MB download entirely; cache is automatically invalidated when thesupertonicpackage version changesdaily-news.md(updated)shared/supertonic.mdtimeout-minutes30 → 50 to cover model download + synthesisjq-safe quoting to avoid shell escaping issues), uploads viaupload_artifactsafe-output, and embeds the download link in the discussion