Build SETS Cache #2
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: Build SETS Cache | |
| on: workflow_dispatch | |
| jobs: | |
| build_cache: | |
| name: Build Cache | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| repository: STOCD/SETS | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - run: apt install freeglut3-dev | |
| - run: python3 -m pip install -e . | |
| - uses: actions/checkout@v5 | |
| with: | |
| path: '.config' | |
| - run: | | |
| echo "SETS_CF_CLEARANCE=${{ secrets.SETS_CF_CLEARANCE }} | |
| SETS_USER_AGENT=${{ secrets.SETS_USER_AGENT }} | |
| " > .config/.env | |
| - run: mkdir -p .config/images | |
| - run: mkdir -p .config/ship_images | |
| - run: python3 main.py --build-cache | |
| - uses: peter-evans/create-pull-request@v8 | |
| with: | |
| path: '.config' |