Skip to content
name: Generate single-include header
on: push
permissions:
contents: write
jobs:
generate_header:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
with:
submodules: true # recursive
- name: Generate header and module
shell: powershell
run: |
cd include/ecs
./make_single_header.ps1
cd ..
cd ..
- name: Upload changes
shell: powershell
run: |
git config --global user.name 'github_actions'
git config --global user.email 'github_actions@users.noreply.github.com'
git commit -am "Automated single-include header generation"
git push
run-msvc:
uses: ./.github/workflows/msvc.yml
needs: generate_header
run-gcc:
uses: ./.github/workflows/gcc.yml
needs: generate_header
run-clang:
uses: ./.github/workflows/clang.yml
needs: generate_header