Update README.md #47
This file contains 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: Validate & Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Validate SQF | |
run: python3 tools/sqf_validator.py | |
- name: Validate Stringtables | |
run: python3 tools/stringtable_validator.py | |
- name: Check String usage | |
run: python3 tools/string_checker.py | |
- name: Validate Code Style | |
run: python3 tools/config_style_checker.py | |
- uses: arma-actions/bom-check@v1 | |
name: Check for BOM | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup HEMTT | |
uses: arma-actions/hemtt@v1 | |
- name: Initialize submodules | |
run: git submodule init | |
- name: Run HEMTT build (Dev) | |
run: hemtt dev | |
if: github.event_name == 'pull_request' | |
- name: Run HEMTT build (Release Build) | |
run: hemtt release | |
if: github.ref_name == 'main' | |
- name: Upload Release | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pmcs-${{github.sha}} | |
path: releases/pmcs-latest.zip |