Merge pull request #1 from TastyHeadphones/copilot/fix-ac7a6a03-0823-… #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Run Podcast Script | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| run-script: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.9 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.9 | |
| - name: Clone Higgs Audio into subfolder | |
| run: | | |
| mkdir -p third_party | |
| git clone https://github.com/boson-ai/higgs-audio.git third_party/higgs-audio | |
| - name: Install all dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -r third_party/higgs-audio/requirements.txt | |
| pip install -e third_party/higgs-audio | |
| - name: Run main script (calls generation.py internally) | |
| run: | | |
| python src/main.py | |
| env: | |
| GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
| - name: Upload podcast_series folder | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: podcast_series | |
| path: podcast_series/ |