Delete all map files and mapinfo.lua files #24
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: Download Spring Engine for Local Testing | |
| on: | |
| push: | |
| branches: | |
| - 'claude/springboard-rmlui-conversion-011CUooEurKLbWKUu8vygDUw' | |
| jobs: | |
| download-and-commit-engine: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check if engine already exists | |
| id: check_engine | |
| run: | | |
| if [ -d "test-engine" ]; then | |
| echo "exists=true" >> $GITHUB_OUTPUT | |
| echo "✓ Engine already exists, skipping download" | |
| else | |
| echo "exists=false" >> $GITHUB_OUTPUT | |
| echo "Engine not found, will download" | |
| fi | |
| - name: Install dependencies | |
| if: steps.check_engine.outputs.exists != 'true' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y wget p7zip-full | |
| - name: Download BAR Engine | |
| if: steps.check_engine.outputs.exists != 'true' | |
| run: | | |
| echo "Downloading BAR Engine 105.1.1-2472-ga5aa45c (supports RmlUi)..." | |
| wget -q "https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-2472-ga5aa45c/spring_bar_.BAR105.105.1.1-2472-ga5aa45c_linux-64-minimal-portable.7z" | |
| echo "Extracting engine..." | |
| mkdir -p test-engine | |
| 7z x -y -otest-engine "spring_bar_.BAR105.105.1.1-2472-ga5aa45c_linux-64-minimal-portable.7z" | |
| rm "spring_bar_.BAR105.105.1.1-2472-ga5aa45c_linux-64-minimal-portable.7z" | |
| echo "Engine downloaded and extracted to test-engine/" | |
| ls -la test-engine/ | head -20 | |
| - name: Commit and push engine | |
| if: steps.check_engine.outputs.exists != 'true' | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add test-engine/ | |
| git commit -m "$(cat <<'EOF' | |
| Add Spring engine for local testing | |
| This engine is temporarily added to allow Claude to test the smoke test | |
| locally before running in CI. It can be removed once testing is complete. | |
| Engine: BAR 105.1.1-2472-ga5aa45c (with RmlUi support) | |
| EOF | |
| )" | |
| git push | |
| echo "✓ Engine committed and pushed" |