Nightly Submodule Update #97
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: Nightly Submodule Update | |
| on: | |
| schedule: | |
| - cron: "0 3 * * *" # 03:00 UTC nightly | |
| workflow_dispatch: {} | |
| jobs: | |
| update-submodules: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| submodules: false | |
| - name: Update submodules | |
| run: | | |
| git submodule update --init --recursive | |
| - name: Verify LLaMA-Factory present | |
| run: | | |
| test -d dcft/train/llamafactory || (echo "llamafactory submodule missing" && exit 1) | |