fix: vehicle weapon tracking, projectile system overhaul #48
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: Build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup HEMTT | |
| uses: arma-actions/hemtt@v1 | |
| - name: Run HEMTT check | |
| run: | | |
| # Run hemtt check and capture output | |
| OUTPUT=$(hemtt check 2>&1) || true | |
| echo "$OUTPUT" | |
| # Filter out L-S29 (false positives for dynamically defined functions) | |
| # and fail if any other warnings remain | |
| WARNINGS=$(echo "$OUTPUT" | grep -E "warning\[" | grep -v "L-S29" || true) | |
| if [ -n "$WARNINGS" ]; then | |
| echo "" | |
| echo "::error::Lint warnings found:" | |
| echo "$WARNINGS" | |
| exit 1 | |
| fi | |
| - name: Run HEMTT build | |
| run: hemtt build | |
| - name: Upload build artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ocap-build | |
| path: .hemttout/build/ | |
| retention-days: 7 |