🎈 perf(轻小说文库): 对这两个书源优化了一下~ #11
Workflow file for this run
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: Develop BookSource JSON | |
| on: | |
| push: | |
| branches: | |
| - booksource-dev | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| - name: Run booksource_combine script | |
| run: | | |
| python src/scripts/booksource_combine.py | |
| - name: Upload booksource JSON | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: booksource-json-files | |
| path: src/build/*.json |